sha512

Pure Haskell SHA-512, HMAC-SHA512 (docs.ppad.tech/sha512).
git clone git://git.ppad.tech/sha512.git
Log | Files | Refs | README | LICENSE

ppad-sha512.cabal (1490B)


      1 cabal-version:      3.0
      2 name:               ppad-sha512
      3 version:            0.1.1
      4 synopsis:           The SHA-512 and HMAC-SHA512 algorithms
      5 license:            MIT
      6 license-file:       LICENSE
      7 author:             Jared Tobin
      8 maintainer:         jared@ppad.tech
      9 category:           Cryptography
     10 build-type:         Simple
     11 tested-with:        GHC == { 9.8.1, 9.6.6, 9.6.4 }
     12 extra-doc-files:    CHANGELOG
     13 description:
     14   A pure implementation of SHA-512 and HMAC-SHA512 on strict and lazy
     15   ByteStrings, as specified by RFC's 6234 and 2104.
     16 
     17 source-repository head
     18   type:     git
     19   location: git.ppad.tech/sha512.git
     20 
     21 library
     22   default-language: Haskell2010
     23   hs-source-dirs:   lib
     24   ghc-options:
     25       -Wall
     26   exposed-modules:
     27       Crypto.Hash.SHA512
     28   build-depends:
     29       base >= 4.9 && < 5
     30     , bytestring >= 0.9 && < 0.13
     31 
     32 test-suite sha512-tests
     33   type:                exitcode-stdio-1.0
     34   default-language:    Haskell2010
     35   hs-source-dirs:      test
     36   main-is:             Main.hs
     37   other-modules:
     38     Wycheproof
     39 
     40   ghc-options:
     41     -rtsopts -Wall -O2
     42 
     43   build-depends:
     44       aeson
     45     , base
     46     , base16-bytestring
     47     , bytestring
     48     , ppad-sha512
     49     , tasty
     50     , tasty-hunit
     51     , text
     52 
     53 benchmark sha512-bench
     54   type:                exitcode-stdio-1.0
     55   default-language:    Haskell2010
     56   hs-source-dirs:      bench
     57   main-is:             Main.hs
     58 
     59   ghc-options:
     60     -rtsopts -O2 -Wall
     61 
     62   build-depends:
     63       base
     64     , bytestring
     65     , criterion
     66     , ppad-sha512
     67     , SHA
     68