md5算法的c++实现

zitengluotty 27 0 RAR 2019-07-25 10:07:44

看到一个不错的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

用户评论
请输入评论内容
评分:
暂无评论