Patch: Add MD5 and SHA1 sign/verify functions

Will <>
Mon Aug 7 03:48:06 CEST 2006


Hello,

Here is a patch which adds RSA sign and verify functions to the crypto
application.  The existing crypto:rsa_verify/3 function only supports
SHA1 digests.

This patch adds the following new functions:

     crypto:rsa_md5_verify/3
     crypto:rsa_sha_verify/3
     crypto:rsa_md5_sign/2
     crypto:rsa_sha_sign/2

Please let me know if any improvements are needed; I attempted to
follow the general spirit of the existing crypto code.  If possible
I'd like to see this added to OTP as it seems like very useful
functionality.

Thanks,
Will

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rsa_verify_sign.patch
Type: text/x-patch
Size: 8222 bytes
Desc: rsa_verify_sign patch
URL: <http://erlang.org/pipermail/erlang-patches/attachments/20060806/fdb0d199/attachment.bin>


More information about the erlang-patches mailing list