commit 428e2e09c345a0cb255d9aab432606308872c014
parent 292d7eea71e9e6c070dfcc4f4403136e091e8bca
Author: Jared Tobin <jared@jtobin.io>
Date: Thu, 8 Jan 2026 22:39:45 +0400
release: v0.1.5
Diffstat:
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/CHANGELOG b/CHANGELOG
@@ -1,5 +1,16 @@
# Changelog
+- 0.1.5 (2026-01-08)
+ * We now check if the ARM cryptographic extensions are available, and,
+ if so, use them to calculate hashes. If they're unavailable we
+ simply use the pure implementation as a fallback. This yields about
+ a 5x performance boost for 'hash' and 3.5x boost for 'hmac' (again,
+ when available).
+
+ * Allocation for both the 'hash' and 'hmac' functions has been reduced
+ dramatically, mostly by optimising the padding internals, and is now
+ constant with respect to input.
+
- 0.1.4 (2025-12-28)
* Adds an 'llvm' build flag and tests with GHC 9.10.3.
diff --git a/ppad-sha512.cabal b/ppad-sha512.cabal
@@ -1,6 +1,6 @@
cabal-version: 3.0
name: ppad-sha512
-version: 0.1.4
+version: 0.1.5
synopsis: The SHA-512 and HMAC-SHA512 algorithms
license: MIT
license-file: LICENSE