ripemd160

Pure Haskell RIPEMD-160, HMAC-RIPEMD160 (docs.ppad.tech/ripemd160).
git clone git://git.ppad.tech/ripemd160.git
Log | Files | Refs | README | LICENSE

commit a893f31446b2e0fcd3e3f21ca7ba3d6f5eecd410
parent a5c5b5b0562deeb9af6edf91251c09ddfce5dc95
Author: Jared Tobin <jared@jtobin.io>
Date:   Tue, 12 Nov 2024 11:50:49 +0400

lib: kill b16 dep

Diffstat:
Mlib/Crypto/Hash/RIPEMD160.hs | 20++++++++++++++++++--
Mppad-ripemd160.cabal | 1-
2 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/lib/Crypto/Hash/RIPEMD160.hs b/lib/Crypto/Hash/RIPEMD160.hs @@ -2,12 +2,28 @@ {-# LANGUAGE RecordWildCards #-} {-# LANGUAGE ViewPatterns #-} --- see +-- | +-- Module: Crypto.Hash.RIPEMD160 +-- Copyright: (c) 2024 Jared Tobin +-- License: MIT +-- Maintainer: Jared Tobin <jared@ppad.tech> +-- +-- Pure RIPEMD-160 and HMAC-RIPEMD160 implementations for +-- strict and lazy ByteStrings. + +-- for spec, see -- -- https://homes.esat.kuleuven.be/~bosselae/ripemd160/pdf/AB-9601/AB-9601.pdf +module Crypto.Hash.RIPEMD160 ( + -- * RIPEMD-160 message digest functions + hash + , hash_lazy -module Crypto.Hash.RIPEMD160 where + -- * RIPEMD160-based MAC functions + , hmac + , hmac_lazy + ) where import qualified Data.Bits as B import Data.Bits ((.|.), (.&.)) diff --git a/ppad-ripemd160.cabal b/ppad-ripemd160.cabal @@ -28,7 +28,6 @@ library build-depends: base >= 4.9 && < 5 , bytestring >= 0.9 && < 0.13 - , base16-bytestring test-suite ripemd160-tests type: exitcode-stdio-1.0