diff options
author | Joey Hess <joey@kitenet.net> | 2011-04-17 11:13:54 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-04-17 11:13:54 -0400 |
commit | 80981600a0994ba36d3867d5ada55b5ea5a3d9cb (patch) | |
tree | 48882bae07441e2d2eaad54b06c3419ef3cda084 /Crypto.hs | |
parent | eafb51959225d871b94136b7b02c5cf7752d49be (diff) |
looked up HMAC block size details
Diffstat (limited to 'Crypto.hs')
-rw-r--r-- | Crypto.hs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -48,6 +48,9 @@ import CryptoTypes {- The first half of a Cipher is used for HMAC; the remainder - is used as the GPG symmetric encryption passphrase. - + - HMAC SHA1 needs only 64 bytes. The remainder is for expansion, + - perhaps to HMAC SHA512, which needs 128 bytes (ideally). + - - 256 is enough for gpg's symetric cipher; unlike weaker public key - crypto, the key does not need to be too large. -} |