ripemd160

Pure Haskell RIPEMD-160, HMAC-RIPEMD160 (docs.ppad.tech/ripemd160).
git clone git://git.ppad.tech/ripemd160.git
Log | Files | Refs | README | LICENSE

ppad-ripemd160.cabal (1554B)


      1 cabal-version:      3.0
      2 name:               ppad-ripemd160
      3 version:            0.1.3
      4 synopsis:           The RIPEMD-160 hashing algorithm.
      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 RIPEMD-160 and HMAC-RIPEMD160 on strict and
     15   lazy ByteStrings.
     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/ripemd160.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.Hash.RIPEMD160
     35   build-depends:
     36       base >= 4.9 && < 5
     37     , bytestring >= 0.9 && < 0.13
     38 
     39 test-suite ripemd160-tests
     40   type:                exitcode-stdio-1.0
     41   default-language:    Haskell2010
     42   hs-source-dirs:      test
     43   main-is:             Main.hs
     44 
     45   ghc-options:
     46     -rtsopts -Wall -O2
     47 
     48   build-depends:
     49       aeson
     50     , base
     51     , bytestring
     52     , ppad-base16
     53     , ppad-ripemd160
     54     , tasty
     55     , tasty-hunit
     56     , text
     57 
     58 benchmark ripemd160-bench
     59   type:                exitcode-stdio-1.0
     60   default-language:    Haskell2010
     61   hs-source-dirs:      bench
     62   main-is:             Main.hs
     63 
     64   ghc-options:
     65     -rtsopts -O2 -Wall
     66 
     67   build-depends:
     68       base
     69     , bytestring
     70     , criterion
     71     , ppad-ripemd160
     72     , SHA
     73