sources/md5.cpp

branch
protocol5
changeset 106
7b156b764d11
parent 88
08ccaf26cffd
child 182
20ca0a6be175
equal deleted inserted replaced
104:a76af67a3a4b 106:7b156b764d11
1 #include "md5.h" 1 #include "md5.h"
2 #include <stdio.h> 2 #include <stdio.h>
3 #include <string.h> 3 #include <string.h>
4 BEGIN_ZFC_NAMESPACE
4 5
5 /* 6 /*
6 * This code implements the MD5 message-digest algorithm. 7 * This code implements the MD5 message-digest algorithm.
7 * The algorithm is due to Ron Rivest. This code was 8 * The algorithm is due to Ron Rivest. This code was
8 * written by Colin Plumb in 1993, no copyright is claimed. 9 * written by Colin Plumb in 1993, no copyright is claimed.
303 { 304 {
304 sprintf (checksum + i * 2, "%02x", signature[i]); 305 sprintf (checksum + i * 2, "%02x", signature[i]);
305 } 306 }
306 } 307 }
307 308
309 END_ZFC_NAMESPACE

mercurial