looked up HMAC block size details

This commit is contained in:
Joey Hess 2011-04-17 11:13:54 -04:00
parent eafb519592
commit 80981600a0

View file

@ -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.
-}