From: kramm Date: Tue, 22 Feb 2005 20:02:24 +0000 (+0000) Subject: added hash_md5() X-Git-Tag: release-0-7-0~215 X-Git-Url: http://git.asbjorn.biz/?p=swftools.git;a=commitdiff_plain;h=1603febdafc356d79bd59646fbdd141802952a4d added hash_md5() --- diff --git a/lib/MD5.h b/lib/MD5.h index cfe2b75..0003492 100644 --- a/lib/MD5.h +++ b/lib/MD5.h @@ -23,6 +23,6 @@ #ifndef __MD5_h__ #define __MD5_h__ -/* WARNING: crypt_md5 is not reentrant */ char * crypt_md5(const char *pw, const char *salt); +void hash_md5(const unsigned char*buf, int len, unsigned char*dest); //dest needs to be 16 bytes wide #endif