95aaa82003-12-03Martin Nilsson #pike __REAL_VERSION__
59bfa12005-01-23Martin Nilsson #pragma strict_types
95aaa82003-12-03Martin Nilsson 
af10832003-12-03Martin Nilsson //! BLOWFISH is a block cipher designed by Bruce Schneier. It uses a //! block size of 64 bits (8 octets), and a variable key size, up to //! 448 bits. It has some weak keys.
627c732004-04-14Martin Nilsson #if constant(Nettle) && constant(Nettle.BLOWFISH_Info)
a164de2003-12-03Martin Nilsson 
95aaa82003-12-03Martin Nilsson // NOTE: Depends on the order of INIT invocations. inherit Nettle.BLOWFISH_Info; inherit .Cipher; .CipherState `()() { return Nettle.BLOWFISH_State(); }
a164de2003-12-03Martin Nilsson 
627c732004-04-14Martin Nilsson #else constant this_program_does_not_exist=1;
a164de2003-12-03Martin Nilsson #endif