2021
10-29
10-29
C++ 递归遍历文件并计算MD5的实例代码
递归遍历文件夹,对比文件md5首先,需要引用md5的相关代码,参考这篇文章,防止链接内容被删除,这里再记录一次:md5.h#ifndefMD5_H#defineMD5_H#include<string>#include<fstream>/*Typedefine*/typedefunsignedcharbyte;typedefunsignedintuint32;usingstd::string;usingstd::ifstream;/*MD5declaration.*/classMD5{public:MD5();MD5(constvoid*...
继续阅读 >