Commit 1b0d803a authored by Francis Dupont's avatar Francis Dupont
Browse files

hmac(key, message)

parent 146a9eef
...@@ -69,11 +69,11 @@ AES ...@@ -69,11 +69,11 @@ AES
HMAC SHA1 HMAC SHA1
hash = trunc(hmacsha1(client|nonce|when|address, secret), 8); hash = trunc(hmacsha1(secret, client|nonce|when|address), 8);
HMAC SHA256 HMAC SHA256
hash = trunc(hmacsha256(client|nonce|when|address, secret), 8); hash = trunc(hmacsha256(secret, client|nonce|when|address), 8);
[1] [1]
INTERNET-DRAFT Donald Eastlake INTERNET-DRAFT Donald Eastlake
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment