diff --git a/Crypto/Hash.hs b/Crypto/Hash.hs index b0611c9..cf477f4 100644 --- a/Crypto/Hash.hs +++ b/Crypto/Hash.hs @@ -23,7 +23,6 @@ module Crypto.Hash , Context , Digest -- * Functions - , digestToHexByteString , digestFromByteString -- * hash methods parametrized by algorithm , hashInitWith @@ -58,10 +57,6 @@ hash bs = hashFinalize $ hashUpdate hashInit bs hashlazy :: HashAlgorithm a => L.ByteString -> Digest a hashlazy lbs = hashFinalize $ hashUpdates hashInit (L.toChunks lbs) --- | Return the hexadecimal (base16) bytestring of the digest -digestToHexByteString :: Digest a -> ByteString -digestToHexByteString = toHex . B.convert - -- | Initialize a new context for this hash algorithm hashInit :: HashAlgorithm a => Context a