Cryptopp Usage Note
What's cryptopp? http://www.cryptopp.com/
svn: svn://svn.code.sf.net/p/cryptopp/code/trunk
User_Guide: http://www.cryptopp.com/wiki/User_Guide:_Introduction
Test Md5
#include <cryptopp/md5.h> byte message[1]; byte m[16]; message[0]='1'; MD5 md5; md5.Update(message,1); md5.Final(m); cout<<"算法名称:"<<md5.AlgorithmName()<<endl; for(int i=0;i<16;i++) { printf("%02x",m[i]); }