hmac-drbg

Pure Haskell HMAC-DRBG (docs.ppad.tech/hmac-drbg).
git clone git://git.ppad.tech/hmac-drbg.git
Log | Files | Refs | README | LICENSE

commit 7d225f6b10d387d452ca6b56dfd49dd7d99ec89e
parent 8654389228a78626dfa555c8fc09d249acd2fe30
Author: Jared Tobin <jared@jtobin.io>
Date:   Sun,  6 Oct 2024 20:53:37 +0400

meta: readme pedagogy

Diffstat:
MREADME.md | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/README.md b/README.md @@ -9,6 +9,7 @@ A sample GHCi session: ``` > :set -XOverloadedStrings + > import qualified Data.ByteString.Base16 as B16 -- just for pretty rendering > > -- import qualified > import qualified Crypto.DRBG.HMAC as DRBG @@ -24,7 +25,6 @@ A sample GHCi session: > drbg <- DRBG.new SHA256.hmac entropy nonce personalization_string > > -- use it to generate some bytes - > import qualified Data.ByteString.Base16 as B16 -- just for pretty rendering > > fmap B16.encode (DRBG.gen mempty 32 drbg) "e4d17210810c4b343f6eae2c19e3d82395b555294b1b16a85f91dbea67e5f277"