Crypto is a C password library. Friends who have read the "river" still remember the author's son who didn't want to work Microsoft, was the author of Crypto Wei Dai. Crypto is a very powerful cryptographic library, which is very popular in the cryptography. Initially, a doctoral sister under Rivest (RSA's R) gave me this library. Although many cryptographics related code and libraries can be found on the network, Crypto has its significant advantages. Mainly functional, unified. For example, an elliptic curve encryption algorithm and AES have not finally completed in the Crypto library of OpenSSL, while in Crypto , it is better. The main functions required in basic cryptography can be found inside. Crypto is written by standard C , learning C , cryptography, and network security can be inspired and improved by reading Crypto source code. Crypto installation first downloads the latest version of the source code on www.cryptopp.com. If it is a Windows version, you will get a VC project, and you can compile it directly with VC. Here, you recommend that you use the latest version of the C compiler because the compiler such as VC6 is a standard that does not support C , and many of the C standard code cannot be compiled. The compilation time is relatively long, and the library file of CRYPTLIB.LIB will be generated after completion. You can name cryptopp of the Crypto source file, copy to the compiler's include directory (for example: c: /vs.net/vc7/include), copy the CryptLib.lib file to the compiler's lib directory. This way we only need to explain the link CRYPTLIB.LIB. For example, in the VC7 in the Project -> Properties -> Linkr -> Command Line -> Additional Options Add "CRYPTLIB.LIB". Hello World is now writing a Hello World program to see if you can compile.
#include
Compile operation, everything OK, haha: d, can be used.