Comment about not having Show instance for HMAC

Closes #232.
This commit is contained in:
Olivier Chéron 2018-04-21 07:55:25 +02:00
parent a2a2372412
commit 9d961e92e9

View File

@ -32,7 +32,8 @@ import Crypto.Internal.Imports
-- | Represent an HMAC that is a phantom type with the hash used to produce the mac.
--
-- The Eq instance is constant time.
-- The Eq instance is constant time. No Show instance is provided, to avoid
-- printing by mistake.
newtype HMAC a = HMAC { hmacGetDigest :: Digest a }
deriving (ByteArrayAccess)