md5 patch (HMAC_MD5 added)
| From: | Soewono Effendi | Date: | Fri, 21 Jul 2000 13:57:58 +0000 |
| Subject: | md5 patch (HMAC_MD5 added) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-25338@lists.php.net to get a copy of this message | ||
Hi!
I have no idea to whom I should send this patch of mine.
I needed the HMAC MD5 encryption function (rfc2104) to use it with iKey
(http://www.rainbow.com).
But I can't use the mhash function, so I patched the md5.c, md5.h and
basic_functions.c files.
Hope it will be helpful for others too.
Best regards,
Soewono Effendi
Application Developer
http://www.rancon.de
email: effendi@rancon.de
------------------------
FYI :)
cd php-3.0.16
patch -p 1 < hmac.patch
Usage:
<?php $digest = hmac_md5($data,$key); ?>