16 lines
348 B
C++
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;
|
|
} |