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 42a4a29360c12a524bd31ba8a3f28dd924445a52
parent 8c5a6a78e3ad5466c0c0bce6007f6241d0eac743
Author: Jared Tobin <jared@jtobin.io>
Date:   Wed, 11 Sep 2024 00:00:48 +0400

test: add skeleton

Diffstat:
Mppad-sha256.cabal | 16++++++++++++++++
Atest/Main.hs | 4++++
2 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/ppad-sha256.cabal b/ppad-sha256.cabal @@ -26,6 +26,22 @@ library exposed-modules: Crypto.Hash.SHA256 build-depends: + base >= 4.9 && < 5 + , bytestring >= 0.9 && < 0.13 + +test-suite sha256-tests + type: exitcode-stdio-1.0 + default-language: Haskell2010 + hs-source-dirs: test + main-is: Main.hs + + ghc-options: + -rtsopts -Wall + + build-depends: base , bytestring + , ppad-sha256 + , tasty + , tasty-hunit diff --git a/test/Main.hs b/test/Main.hs @@ -0,0 +1,4 @@ +module Main where + +main :: IO () +main = pure ()