dotfiles/dev/conan-project/src/main.cpp
2019-07-21 03:27:31 +02:00

16 lines
348 B
C++

#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;
}