ultimatepp/uppdev/md5/md5.cpp
cxl 351994a6cc Adding uppdev....
git-svn-id: svn://ultimatepp.org/upp/trunk@328 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2008-08-15 08:36:24 +00:00

15 lines
267 B
C++

#include <Core/Core.h>
#include <Web/Web.h>
using namespace Upp;
CONSOLE_APP_MAIN
{
String x = MD5Digest("alajos");
LOGHEXDUMP(x, x.GetCount());
String r;
for(int i = 0; i < x.GetCount(); i++) {
r << FormatIntHex((byte)x[i], 2);
}
DUMP(r);
}