hmac-drbg

Pure Haskell HMAC-DRBG (docs.ppad.tech/hmac-drbg).
git clone git://git.ppad.tech/hmac-drbg.git
Log | Files | Refs | README | LICENSE

ppad-hmac-drbg.cabal (1518B)


      1 cabal-version:      3.0
      2 name:               ppad-hmac-drbg
      3 version:            0.1.1
      4 synopsis:           HMAC-based deterministic random bit generator
      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 }
     12 extra-doc-files:    CHANGELOG
     13 description:
     14   A pure implementation of the HMAC-DRBG CSPRNG, as specified by NIST-SP
     15   800-90A.
     16 
     17 source-repository head
     18   type:     git
     19   location: git.ppad.tech/hmac-drbg.git
     20 
     21 library
     22   default-language: Haskell2010
     23   hs-source-dirs:   lib
     24   ghc-options:
     25       -Wall
     26   exposed-modules:
     27       Crypto.DRBG.HMAC
     28   build-depends:
     29       base >= 4.9 && < 5
     30     , bytestring >= 0.9 && < 0.13
     31     , primitive >= 0.8 && < 0.10
     32 
     33 test-suite hmac-drbg-tests
     34   type:                exitcode-stdio-1.0
     35   default-language:    Haskell2010
     36   hs-source-dirs:      test
     37   main-is:             Main.hs
     38 
     39   ghc-options:
     40     -rtsopts -Wall -O2
     41 
     42   build-depends:
     43       attoparsec
     44     , base
     45     , base16-bytestring
     46     , bytestring
     47     , ppad-hmac-drbg
     48     , ppad-sha256
     49     , ppad-sha512
     50     , tasty
     51     , tasty-hunit
     52 
     53 benchmark hmac-drbg-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-hmac-drbg
     67     , ppad-sha256
     68     , ppad-sha512
     69