commit 3c329bb29be708da78c8c3940bf4ef19e7e1747a
parent 6811d20dcf29586ee894c6bdacd7567aadc36621
Author: Jared Tobin <jared@jtobin.io>
Date: Sat, 10 Jan 2026 01:18:28 +0400
release: v0.2.0
Diffstat:
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG b/CHANGELOG
@@ -1,5 +1,13 @@
# Changelog
+- 0.2.0 (2026-01-10)
+ * In order to better-match the spec, 'gen' now returns an
+ 'Either Error BS.ByteString'. The new 'Error' value is returned
+ either in the exceptionally rare case that the DRBG needs a reseed
+ (previously this was just "error <msg>"), or, more likely to occur
+ in practice, if more than 65536 bytes are requested from the DRBG at
+ a time.
+
- 0.1.3 (2025-12-28)
* Adds an 'llvm' build flag and tests with GHC 9.10.3.
diff --git a/ppad-hmac-drbg.cabal b/ppad-hmac-drbg.cabal
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: ppad-hmac-drbg
-version: 0.1.3
+version: 0.2.0
synopsis: HMAC-based deterministic random bit generator
license: MIT
license-file: LICENSE