cryptohash 0.8.4 → 0.9.0
raw patch · 15 files changed
+127/−15 lines, 15 filesPVP ok
version bump matches the API change (PVP)
API changes (from Hackage documentation)
Files
- Crypto/Hash/MD2.hs +9/−1
- Crypto/Hash/MD4.hs +9/−1
- Crypto/Hash/MD5.hs +9/−1
- Crypto/Hash/RIPEMD160.hs +9/−1
- Crypto/Hash/SHA1.hs +9/−1
- Crypto/Hash/SHA224.hs +9/−1
- Crypto/Hash/SHA256.hs +9/−1
- Crypto/Hash/SHA3.hs +9/−1
- Crypto/Hash/SHA384.hs +9/−1
- Crypto/Hash/SHA512.hs +9/−1
- Crypto/Hash/Skein256.hs +9/−1
- Crypto/Hash/Skein512.hs +9/−1
- Crypto/Hash/Tiger.hs +9/−1
- Crypto/Hash/Whirlpool.hs +9/−1
- cryptohash.cabal +1/−1
Crypto/Hash/MD2.hs view
@@ -60,9 +60,17 @@ #endif newtype Ctx = Ctx ByteString++{-# DEPRECATED MD2+ ["Future cryptohash versions will not export crypto-api hash instances here."+ ,"you can either :"+ ," - carry using cryptoapi types and definitions by using the"+ ," cryptohash-cryptoapi package and importing Crypto.Hash.CryptoAPI"+ ," instead of Crypto.Hash.MD2."+ ," - use cryptohash's centralized API by importing Crypto.Hash"+ ] #-} data MD2 = Digest !ByteString deriving (Eq,Ord,Show)- {-# INLINE digestSize #-} digestSize :: Int
Crypto/Hash/MD4.hs view
@@ -60,9 +60,17 @@ #endif newtype Ctx = Ctx ByteString++{-# DEPRECATED MD4+ ["Future cryptohash versions will not export crypto-api hash instances here."+ ,"you can either :"+ ," - carry using cryptoapi types and definitions by using the"+ ," cryptohash-cryptoapi package and importing Crypto.Hash.CryptoAPI"+ ," instead of Crypto.Hash.MD4."+ ," - use cryptohash's centralized API by importing Crypto.Hash"+ ] #-} data MD4 = Digest !ByteString deriving (Eq,Ord,Show)- {-# INLINE digestSize #-} digestSize :: Int
Crypto/Hash/MD5.hs view
@@ -60,9 +60,17 @@ #endif newtype Ctx = Ctx ByteString++{-# DEPRECATED MD5+ ["Future cryptohash versions will not export crypto-api hash instances here."+ ,"you can either :"+ ," - carry using cryptoapi types and definitions by using the"+ ," cryptohash-cryptoapi package and importing Crypto.Hash.CryptoAPI"+ ," instead of Crypto.Hash.MD5."+ ," - use cryptohash's centralized API by importing Crypto.Hash"+ ] #-} data MD5 = Digest !ByteString deriving (Eq,Ord,Show)- {-# INLINE digestSize #-} digestSize :: Int
Crypto/Hash/RIPEMD160.hs view
@@ -60,9 +60,17 @@ #endif newtype Ctx = Ctx ByteString++{-# DEPRECATED RIPEMD160+ ["Future cryptohash versions will not export crypto-api hash instances here."+ ,"you can either :"+ ," - carry using cryptoapi types and definitions by using the"+ ," cryptohash-cryptoapi package and importing Crypto.Hash.CryptoAPI"+ ," instead of Crypto.Hash.RIPEMD160."+ ," - use cryptohash's centralized API by importing Crypto.Hash"+ ] #-} data RIPEMD160 = Digest !ByteString deriving (Eq,Ord,Show)- {-# INLINE digestSize #-} digestSize :: Int
Crypto/Hash/SHA1.hs view
@@ -60,9 +60,17 @@ #endif newtype Ctx = Ctx ByteString++{-# DEPRECATED SHA1+ ["Future cryptohash versions will not export crypto-api hash instances here."+ ,"you can either :"+ ," - carry using cryptoapi types and definitions by using the"+ ," cryptohash-cryptoapi package and importing Crypto.Hash.CryptoAPI"+ ," instead of Crypto.Hash.SHA1."+ ," - use cryptohash's centralized API by importing Crypto.Hash"+ ] #-} data SHA1 = Digest !ByteString deriving (Eq,Ord,Show)- {-# INLINE digestSize #-} digestSize :: Int
Crypto/Hash/SHA224.hs view
@@ -60,9 +60,17 @@ #endif newtype Ctx = Ctx ByteString++{-# DEPRECATED SHA224+ ["Future cryptohash versions will not export crypto-api hash instances here."+ ,"you can either :"+ ," - carry using cryptoapi types and definitions by using the"+ ," cryptohash-cryptoapi package and importing Crypto.Hash.CryptoAPI"+ ," instead of Crypto.Hash.SHA224."+ ," - use cryptohash's centralized API by importing Crypto.Hash"+ ] #-} data SHA224 = Digest !ByteString deriving (Eq,Ord,Show)- {-# INLINE digestSize #-} digestSize :: Int
Crypto/Hash/SHA256.hs view
@@ -60,9 +60,17 @@ #endif newtype Ctx = Ctx ByteString++{-# DEPRECATED SHA256+ ["Future cryptohash versions will not export crypto-api hash instances here."+ ,"you can either :"+ ," - carry using cryptoapi types and definitions by using the"+ ," cryptohash-cryptoapi package and importing Crypto.Hash.CryptoAPI"+ ," instead of Crypto.Hash.SHA256."+ ," - use cryptohash's centralized API by importing Crypto.Hash"+ ] #-} data SHA256 = Digest !ByteString deriving (Eq,Ord,Show)- {-# INLINE digestSize #-} digestSize :: Int
Crypto/Hash/SHA3.hs view
@@ -59,9 +59,17 @@ #endif newtype Ctx = Ctx ByteString++{-# DEPRECATED SHA3+ ["Future cryptohash versions will not export crypto-api hash instances here."+ ,"you can either :"+ ," - carry using cryptoapi types and definitions by using the"+ ," cryptohash-cryptoapi package and importing Crypto.Hash.CryptoAPI"+ ," instead of Crypto.Hash.SHA3."+ ," - use cryptohash's centralized API by importing Crypto.Hash"+ ] #-} data SHA3 = Digest !ByteString deriving (Eq,Ord,Show)- {-# INLINE sizeCtx #-} sizeCtx :: Int
Crypto/Hash/SHA384.hs view
@@ -60,9 +60,17 @@ #endif newtype Ctx = Ctx ByteString++{-# DEPRECATED SHA384+ ["Future cryptohash versions will not export crypto-api hash instances here."+ ,"you can either :"+ ," - carry using cryptoapi types and definitions by using the"+ ," cryptohash-cryptoapi package and importing Crypto.Hash.CryptoAPI"+ ," instead of Crypto.Hash.SHA384."+ ," - use cryptohash's centralized API by importing Crypto.Hash"+ ] #-} data SHA384 = Digest !ByteString deriving (Eq,Ord,Show)- {-# INLINE digestSize #-} digestSize :: Int
Crypto/Hash/SHA512.hs view
@@ -61,9 +61,17 @@ #endif newtype Ctx = Ctx ByteString++{-# DEPRECATED SHA512+ ["Future cryptohash versions will not export crypto-api hash instances here."+ ,"you can either :"+ ," - carry using cryptoapi types and definitions by using the"+ ," cryptohash-cryptoapi package and importing Crypto.Hash.CryptoAPI"+ ," instead of Crypto.Hash.SHA512."+ ," - use cryptohash's centralized API by importing Crypto.Hash"+ ] #-} data SHA512 = Digest !ByteString deriving (Eq,Ord,Show)- {-# INLINE digestSize #-} digestSize :: Int
Crypto/Hash/Skein256.hs view
@@ -59,9 +59,17 @@ #endif newtype Ctx = Ctx ByteString++{-# DEPRECATED Skein256+ ["Future cryptohash versions will not export crypto-api hash instances here."+ ,"you can either :"+ ," - carry using cryptoapi types and definitions by using the"+ ," cryptohash-cryptoapi package and importing Crypto.Hash.CryptoAPI"+ ," instead of Crypto.Hash.Skein256."+ ," - use cryptohash's centralized API by importing Crypto.Hash"+ ] #-} data Skein256 = Digest !ByteString deriving (Eq,Ord,Show)- {-# INLINE sizeCtx #-} sizeCtx :: Int
Crypto/Hash/Skein512.hs view
@@ -59,9 +59,17 @@ #endif newtype Ctx = Ctx ByteString++{-# DEPRECATED Skein512+ ["Future cryptohash versions will not export crypto-api hash instances here."+ ,"you can either :"+ ," - carry using cryptoapi types and definitions by using the"+ ," cryptohash-cryptoapi package and importing Crypto.Hash.CryptoAPI"+ ," instead of Crypto.Hash.Skein512."+ ," - use cryptohash's centralized API by importing Crypto.Hash"+ ] #-} data Skein512 = Digest !ByteString deriving (Eq,Ord,Show)- {-# INLINE sizeCtx #-} sizeCtx :: Int
Crypto/Hash/Tiger.hs view
@@ -60,9 +60,17 @@ #endif newtype Ctx = Ctx ByteString++{-# DEPRECATED Tiger+ ["Future cryptohash versions will not export crypto-api hash instances here."+ ,"you can either :"+ ," - carry using cryptoapi types and definitions by using the"+ ," cryptohash-cryptoapi package and importing Crypto.Hash.CryptoAPI"+ ," instead of Crypto.Hash.Tiger."+ ," - use cryptohash's centralized API by importing Crypto.Hash"+ ] #-} data Tiger = Digest !ByteString deriving (Eq,Ord,Show)- {-# INLINE digestSize #-} digestSize :: Int
Crypto/Hash/Whirlpool.hs view
@@ -60,9 +60,17 @@ #endif newtype Ctx = Ctx ByteString++{-# DEPRECATED Whirlpool+ ["Future cryptohash versions will not export crypto-api hash instances here."+ ,"you can either :"+ ," - carry using cryptoapi types and definitions by using the"+ ," cryptohash-cryptoapi package and importing Crypto.Hash.CryptoAPI"+ ," instead of Crypto.Hash.Whirlpool."+ ," - use cryptohash's centralized API by importing Crypto.Hash"+ ] #-} data Whirlpool = Digest !ByteString deriving (Eq,Ord,Show)- {-# INLINE digestSize #-} digestSize :: Int
cryptohash.cabal view
@@ -1,5 +1,5 @@ Name: cryptohash-Version: 0.8.4+Version: 0.9.0 Description: A collection of crypto hashes, with a practical incremental and one-pass, pure APIs, with performance close to the fastest implementations available in others languages.