cryptohash-0.6: Data/CryptoHash/SHA224.hs
-- |
-- Module : Data.CryptoHash.SHA224
-- License : BSD-style
-- Maintainer : Vincent Hanquez <vincent@snarc.org>
-- Stability : experimental
-- Portability : unknown
--
-- compatibility module for SHA224. use Crypto.Hash.SHA224 instead.
--
module Data.CryptoHash.SHA224 (
Ctx(..),
-- * Incremental hashing Functions
init, -- :: Ctx
update, -- :: Ctx -> ByteString -> Ctx
finalize, -- :: Ctx -> ByteString
-- * Single Pass hashing
hash, -- :: ByteString -> ByteString
hashlazy -- :: ByteString -> ByteString
) where
import Prelude ()
import Crypto.Hash.SHA224 (Ctx(..))
import qualified Crypto.Hash.SHA224 as R
import Data.ByteString (ByteString)
import qualified Data.ByteString.Lazy as L (ByteString)
{-# DEPRECATED init "use crypto.hash.SHA224" #-}
init :: Ctx
init = R.init
{-# DEPRECATED update "use crypto.hash.SHA224" #-}
update :: Ctx -> ByteString -> Ctx
update = R.update
{-# DEPRECATED finalize "use crypto.hash.SHA224" #-}
finalize :: Ctx -> ByteString
finalize = R.finalize
{-# DEPRECATED hash "use crypto.hash.SHA224" #-}
hash :: ByteString -> ByteString
hash = R.hash
{-# DEPRECATED hashlazy "use crypto.hash.SHA224" #-}
hashlazy :: L.ByteString -> ByteString
hashlazy = R.hashlazy