这个是从BlowFish算法的设计者,网络安全大师Bruce Schneier的个人主页上下载的示例代码,一个C版本,一个C++版。代码很简洁明了。另外还有Bruce Schneier当年发表BlowFish算法的论文:Descr iption of a New Variable-Length Key, 64-Bit Block Cipher (Blowfish)
Blowfish加密算法 Blowfish is a symmetric block cipher that can be effectively used for encryption and safeguarding of data. It takes a variable-length key, from 32 bits to 448 bits, making it ideal for securing data. Blowfish was designed in 1993 by Bru