pbkdf

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

ppad-pbkdf.cabal (1633B)


      1 cabal-version:      3.0
      2 name:               ppad-pbkdf
      3 version:            0.2.0
      4 synopsis:           A password-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 password-based key derivation function PBKDF2,
     15   per RFC 2898.
     16 
     17 flag llvm
     18   description: Use GHC's LLVM backend.
     19   default:     False
     20   manual:      True
     21 
     22 source-repository head
     23   type:     git
     24   location: git.ppad.tech/pbkdf.git
     25 
     26 library
     27   default-language: Haskell2010
     28   hs-source-dirs:   lib
     29   ghc-options:
     30       -Wall
     31   if flag(llvm)
     32     ghc-options: -fllvm -O2
     33   exposed-modules:
     34       Crypto.KDF.PBKDF
     35   build-depends:
     36       base >= 4.9 && < 5
     37     , bytestring >= 0.9 && < 0.13
     38 
     39 test-suite pbkdf-tests
     40   type:                exitcode-stdio-1.0
     41   default-language:    Haskell2010
     42   hs-source-dirs:      test
     43   main-is:             Main.hs
     44   other-modules:
     45     Wycheproof
     46 
     47   ghc-options:
     48     -rtsopts -Wall -O2
     49 
     50   build-depends:
     51       aeson
     52     , base
     53     , bytestring
     54     , ppad-base16
     55     , ppad-pbkdf
     56     , ppad-sha256
     57     , ppad-sha512
     58     , tasty
     59     , tasty-hunit
     60     , text
     61 
     62 benchmark pbkdf-bench
     63   type:                exitcode-stdio-1.0
     64   default-language:    Haskell2010
     65   hs-source-dirs:      bench
     66   main-is:             Main.hs
     67 
     68   ghc-options:
     69     -rtsopts -O2 -Wall
     70 
     71   build-depends:
     72       base
     73     , bytestring
     74     , criterion
     75     , ppad-pbkdf
     76     , ppad-sha256
     77     , ppad-sha512
     78