summaryrefslogtreecommitdiff
path: root/src/old/tests/md5test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/old/tests/md5test.cpp')
-rw-r--r--src/old/tests/md5test.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/old/tests/md5test.cpp b/src/old/tests/md5test.cpp
deleted file mode 100644
index 6f832df..0000000
--- a/src/old/tests/md5test.cpp
+++ /dev/null
@@ -1,19 +0,0 @@
1#include <stdio.h>
2#include <string.h>
3#include "md5.h"
4
5int main()
6{
7 md5 mproc;
8 md5sum sum;
9 char hexstr[33];
10
11 memset( hexstr, 0, 33 );
12
13 mproc.sumString( &sum, "qwertyuiopasdfgh" );
14 mproc.sumToHex( &sum, hexstr );
15 printf("sum: %s\n", hexstr );
16 printf("chk: 1ebfc043d8880b758b13ddc8aa1638ef\n");
17
18 return 0;
19}