sha512

Pure Haskell SHA-256, HMAC-SHA256 (docs.ppad.tech/sha256).
git clone git://git.ppad.tech/sha512.git
Log | Files | Refs | README | LICENSE

commit db1b8328b4004260706232710e970e02a6b38805
parent a50250aba815a24db4ccc72617d26fefe4e71a16
Author: Jared Tobin <jared@jtobin.io>
Date:   Sat,  5 Oct 2024 20:42:10 +0400

lib: exports

Diffstat:
Mlib/Crypto/Hash/SHA512.hs | 11++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/lib/Crypto/Hash/SHA512.hs b/lib/Crypto/Hash/SHA512.hs @@ -14,7 +14,16 @@ -- [6234](https://datatracker.ietf.org/doc/html/rfc6234) and -- [2104](https://datatracker.ietf.org/doc/html/rfc2104). -module Crypto.Hash.SHA512 where +module Crypto.Hash.SHA512 ( + -- * SHA-512 message digest functions + hash + , hash_lazy + + -- * SHA512-based MAC functions + , hmac + , hmac_lazy + ) where + import qualified Data.Bits as B import Data.Bits ((.|.), (.&.))