diff options
Diffstat (limited to 'src/crypto/reflibs/Crypto/Hash.hs')
| -rw-r--r-- | src/crypto/reflibs/Crypto/Hash.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/crypto/reflibs/Crypto/Hash.hs b/src/crypto/reflibs/Crypto/Hash.hs index 36308f9..4d83e5d 100644 --- a/src/crypto/reflibs/Crypto/Hash.hs +++ b/src/crypto/reflibs/Crypto/Hash.hs @@ -26,9 +26,11 @@ import Foreign.Storable import System.IO.Unsafe +import ConvertByteString + newtype Digest a = Digest ByteString - deriving (Eq, Ord, NFData, ByteArrayAccess) + deriving (Eq, Ord, NFData, ByteArrayAccess, ToByteString) data Context a = Context (ForeignPtr Blake2bContext) |