sha256

Pure Haskell SHA-256, HMAC-SHA256 as specified by RFC's 6234 and 2104.
git clone git://git.ppad.tech/sha256.git
Log | Files | Refs | README | LICENSE

commit e221c8cee453641b0d0c37c7583acc7001e0c6fa
parent 7a762dc2fcb47aebb2d0efb3f6a276f7f9a32f31
Author: Jared Tobin <jared@jtobin.io>
Date:   Wed, 11 Sep 2024 01:20:00 +0400

meta: use ghc 9.8.1 in flake, add test dep

Diffstat:
Mflake.nix | 2+-
Mppad-sha256.cabal | 5+++--
2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/flake.nix b/flake.nix @@ -14,7 +14,7 @@ pkgs = import nixpkgs { inherit system; }; hlib = pkgs.haskell.lib; - hpkgs = pkgs.haskell.packages.ghc966.override { + hpkgs = pkgs.haskell.packages.ghc981.override { overrides = new: old: { ${lib} = old.callCabal2nix lib ./. {}; }; diff --git a/ppad-sha256.cabal b/ppad-sha256.cabal @@ -8,7 +8,7 @@ author: Jared Tobin maintainer: jared@ppad.tech category: Cryptography build-type: Simple -tested-with: GHC == { 9.6.6, 9.6.4 } +tested-with: GHC == { 9.8.1, 9.6.6, 9.6.4 } extra-doc-files: CHANGELOG description: A pure implementation of SHA-256 and HMAC-SHA256 on strict and lazy @@ -36,10 +36,11 @@ test-suite sha256-tests main-is: Main.hs ghc-options: - -rtsopts -Wall + -rtsopts -Wall -O2 build-depends: base + , base16-bytestring , bytestring , ppad-sha256 , tasty