From 82897cc8f399fab832148711b586215c9a3f7af1 Mon Sep 17 00:00:00 2001 From: Christian von Roques Date: Tue, 6 Sep 2011 19:23:37 +0200 Subject: Support 'md2' hash in crypto:rsa_sign/3 and crypto:rsa_verify/4 --- lib/crypto/doc/src/crypto.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/crypto/doc') diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml index 179ba4498c..45f7e3ff46 100644 --- a/lib/crypto/doc/src/crypto.xml +++ b/lib/crypto/doc/src/crypto.xml @@ -795,7 +795,7 @@ Mpint() = >]]> E, N, D = Mpint Where E is the public exponent, N is public modulus and D is the private exponent. - DigestType = md5 | sha + DigestType = md2 | md5 | sha The default DigestType is sha. Mpint = binary() Signature = binary() @@ -817,7 +817,7 @@ Mpint() = >]]> Key = [E, N] E, N = Mpint Where E is the public exponent and N is public modulus. - DigestType = md5 | sha + DigestType = md2 | md5 | sha The default DigestType is sha. Mpint = binary() -- cgit v1.2.3 From 6cd2fa9346d51ab936873d96b5c96bf5c15ddcf0 Mon Sep 17 00:00:00 2001 From: Christian von Roques Date: Tue, 6 Sep 2011 19:30:10 +0200 Subject: Document crypto:sha_mac_96/2 to compute an SHA MAC, not MD5 --- lib/crypto/doc/src/crypto.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/crypto/doc') diff --git a/lib/crypto/doc/src/crypto.xml b/lib/crypto/doc/src/crypto.xml index 45f7e3ff46..5cb8139062 100644 --- a/lib/crypto/doc/src/crypto.xml +++ b/lib/crypto/doc/src/crypto.xml @@ -347,7 +347,7 @@ Mpint() = >]]> sha_mac_96(Key, Data) -> Mac - Compute an MD5 MACmessage authentification code + Compute an SHA MACmessage authentification code Key = Data = iolist() | binary() Mac = binary() -- cgit v1.2.3