看到一个不错的c++实现的md5算法classMD5{public:typedefunsignedintsize_type;//mustbe32bitMD5();MD5(conststd::string&text);voidupdate(constunsignedchar*buf,size_typelength);voidupdate(constchar*buf,size_typelength);MD5&finalize();std::stringhexdigest()const;friendstd::ostream&operat