drogon/lib/tests/Md5Test.cc
2019-05-23 18:57:45 +08:00

11 lines
371 B
C++

#include "../lib/src/ssl_funcs/Md5.h"
#include <iostream>
int main()
{
std::cout << Md5Encode::encode(
"123456789012345678901234567890123456789012345"
"678901234567890123456789012345678901234567890"
"1234567890")
<< std::endl;
// The output shoud be '49CB3608E2B33FAD6B65DF8CB8F49668'
}