sources/md5.cpp

changeset 88
08ccaf26cffd
parent 11
cffa2777d917
child 182
20ca0a6be175
equal deleted inserted replaced
87:53c2aecb9704 88:08ccaf26cffd
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