config.phundrak.com/dev/conan-project/src/main.cpp

16 lines
348 B
C++
Raw Normal View History

2019-07-21 01:27:31 +00:00
#include "Poco/MD5Engine.h"
#include "Poco/DigestStream.h"
#include "class.hpp"
#include <iostream>
int main(int argc, char** argv)
{
Poco::MD5Engine md5;
Poco::DigestOutputStream ds(md5);
ds << "abcdefghijklmnopqrstuvwxyz";
ds.close();
std::cout << Poco::DigestEngine::digestToHex(md5.digest()) << std::endl;
return 0;
}