Description:
/*
#include "md5.h"
#include <iostream>
using namespace std
void PrintMD5(const string& str, MD5& md5) {
cout << "MD5(\"" << str << "\") = " << md5.toString() << endl
}
int main() {
MD5 md5
md5.update("")
PrintMD5("", md5)
md5.update("a")
PrintMD5("a", md5)
md5.update("bc")
PrintMD5("abc", md5)
md5.update("defghijklmnopqrstuvwxyz")
PrintMD5("abcdefghijklmnopqrstuvwxyz", md5)
md5.reset()
md5.update("message digest")
PrintMD5("message digest", md5)
md5.reset()
md5.update(ifstream("D:\\test.txt"))
PrintMD5("D:\\test.txt", md5)
return 0
}
*/
To Search:
File list (Check if you may need any files):
md5\md5.cpp
...\md5.h
md5