hkdf

Pure Haskell HMAC-based KDF (docs.ppad.tech/hkdf).
git clone git://git.ppad.tech/hkdf.git
Log | Files | Refs | README | LICENSE

ppad-hkdf.cabal (1500B)


      1 cabal-version:      3.0
      2 name:               ppad-hkdf
      3 version:            0.2.0
      4 synopsis:           A HMAC-based key derivation function
      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-based extract-and-expand key derivation
     15   function, per RFC5869.
     16 
     17 source-repository head
     18   type:     git
     19   location: git.ppad.tech/hkdf.git
     20 
     21 library
     22   default-language: Haskell2010
     23   hs-source-dirs:   lib
     24   ghc-options:
     25       -Wall
     26   exposed-modules:
     27       Crypto.KDF.HMAC
     28   build-depends:
     29       base >= 4.9 && < 5
     30     , bytestring >= 0.9 && < 0.13
     31 
     32 test-suite hkdf-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-hkdf
     49     , ppad-sha256
     50     , ppad-sha512
     51     , tasty
     52     , tasty-hunit
     53     , text
     54 
     55 benchmark hkdf-bench
     56   type:                exitcode-stdio-1.0
     57   default-language:    Haskell2010
     58   hs-source-dirs:      bench
     59   main-is:             Main.hs
     60 
     61   ghc-options:
     62     -rtsopts -O2 -Wall
     63 
     64   build-depends:
     65       base
     66     , bytestring
     67     , criterion
     68     , ppad-hkdf
     69     , ppad-sha256
     70     , ppad-sha512
     71