fixed drawlink() ruby callback
[swftools.git] / lib / MD5.h
index cfe2b75..e560700 100644 (file)
--- a/lib/MD5.h
+++ b/lib/MD5.h
 
 #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
+
+void* initialize_md5();
+void update_md5(void*ctx, unsigned char*data, int len);
+void finish_md5(void*ctx, unsigned char*dest);
 #endif