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 5c5a4fdb1870422c35cd56df19e6672a7b782264
parent 5ee9ea236feea2658947bc92834ef487323b0641
Author: Jared Tobin <jared@jtobin.io>
Date:   Mon,  6 Jul 2026 09:37:30 -0230

release: v0.3.3

Diffstat:
MCHANGELOG | 4+++-
Mppad-sha256.cabal | 2+-
2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/CHANGELOG b/CHANGELOG @@ -1,10 +1,12 @@ # Changelog -- Unreleased +- 0.3.3 (2026-07-06) * The constant-time 'Eq' on 'MAC' now folds over the two buffers directly, rather than materialising an intermediate ByteString holding their XOR on the heap. Semantics are unchanged. + * Improves the performance of constant-time MAC comparison. + - 0.3.2 (2026-02-01) * The library has been refactored substantially to achieve greater control over heap allocation, particularly around HMAC calculation. diff --git a/ppad-sha256.cabal b/ppad-sha256.cabal @@ -1,6 +1,6 @@ cabal-version: 3.0 name: ppad-sha256 -version: 0.3.2 +version: 0.3.3 synopsis: The SHA-256 and HMAC-SHA256 algorithms license: MIT license-file: LICENSE