sha256

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

commit 40792bf33df4582897000fc331a75cc458db9463
parent 3060645abfec415f8dae8c08a613f7c51cc9c36c
Author: Jared Tobin <jared@jtobin.io>
Date:   Sun,  1 Feb 2026 14:37:15 +0400

release: v0.3.2

Diffstat:
MCHANGELOG | 11+++++++++++
Mppad-sha256.cabal | 2+-
2 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/CHANGELOG b/CHANGELOG @@ -1,5 +1,16 @@ # Changelog +- 0.3.2 (2026-02-01) + * The library has been refactored substantially to achieve greater + control over heap allocation, particularly around HMAC calculation. + + * A couple of very low-level functions, '_hmac_rr' and '_hmac_rsb' are + now quietly exported for calculating specialized destructive HMAC + operations, mostly of use to HMAC-DRBG implementations. + + * HMAC performance is also improved, now only about 2x that of hash + computation. + - 0.3.1 (2026-01-11) * Adds a basic quickcheck test suite for asserting memory safety of library functions on random inputs. diff --git a/ppad-sha256.cabal b/ppad-sha256.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: ppad-sha256 -version: 0.3.1 +version: 0.3.2 synopsis: The SHA-256 and HMAC-SHA256 algorithms license: MIT license-file: LICENSE