Dropping Show from PRK.

This commit is contained in:
Kazu Yamamoto 2016-11-28 19:23:20 +09:00
parent c0b0846232
commit 2b9dce2c8a

View File

@ -30,10 +30,6 @@ import qualified Data.ByteString as BS
data PRK a = PRK (HMAC a) | PRK_NoExpand ScrubbedBytes
deriving (Eq)
instance Show (PRK a) where
show (PRK hm) = show (hmacGetDigest hm)
show (PRK_NoExpand sb) = show sb
toByteString :: PRK a -> BS.ByteString
toByteString (PRK hm) = B.convert hm
toByteString (PRK_NoExpand sb) = B.convert sb