diff options
Diffstat (limited to 'src/tests/md5test')
-rw-r--r-- | src/tests/md5test/md5test.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/tests/md5test/md5test.cpp b/src/tests/md5test/md5test.cpp deleted file mode 100644 index 6f832df..0000000 --- a/src/tests/md5test/md5test.cpp +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | #include <stdio.h> | ||
2 | #include <string.h> | ||
3 | #include "md5.h" | ||
4 | |||
5 | int 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 | } | ||