00001 #ifndef _EDG_STRMD5_H 00002 #define _EDG_STRMD5_H 00003 00004 #ident "$Header: /local/reps/lcgware/workload/common/jobid/strmd5.h,v 1.4 2002/08/29 18:45:12 kabi Exp $" 00005 00006 /* Compute MD5 sum of the first argument. 00007 * The sum is returned in the 16-byte array pointed to by 2nd argument 00008 * (if not NULL) 00009 * 00010 * Return value: ASCII string of the sum, i.e. 32 characters [0-9a-f] 00011 * (pointer to static area, changed by subsequent calls) 00012 */ 00013 00014 char *strmd5(const char *src, unsigned char *dst); 00015 00020 char *str2md5(const char *src); 00021 00026 char *str2md5base64(const char *src); 00027 00028 #endif /* _EDG_STRMD5_H */