bip39

BIP39 mnemonic codes in Haskell (docs.ppad.tech/bip39).
git clone git://git.ppad.tech/bip39.git
Log | Files | Refs | README | LICENSE

ppad-bip39.cabal (1934B)


      1 cabal-version:      3.0
      2 name:               ppad-bip39
      3 version:            0.2.1
      4 synopsis:           BIP39 mnemonic codes.
      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 extra-source-files:
     14   etc/english.txt
     15   etc/chinese_simplified.txt
     16   etc/chinese_traditional.txt
     17   etc/czech.txt
     18   etc/french.txt
     19   etc/italian.txt
     20   etc/japanese.txt
     21   etc/korean.txt
     22   etc/portuguese.txt
     23   etc/spanish.txt
     24 
     25 description:
     26   [BIP39](https://github.com/bitcoin/bips/blob/master/bip-0039.mediawiki)
     27   mnemonic codes for deterministic key generation.
     28 
     29 source-repository head
     30   type:     git
     31   location: git.ppad.tech/bip39.git
     32 
     33 library
     34   default-language: Haskell2010
     35   hs-source-dirs:   lib
     36   ghc-options:
     37       -Wall
     38   exposed-modules:
     39       Crypto.KDF.BIP39
     40   build-depends:
     41       base >= 4.9 && < 5
     42     , bytestring >= 0.9 && < 0.13
     43     , ppad-pbkdf >= 0.1 && < 0.2
     44     , ppad-sha256 >= 0.2.3 && < 0.3
     45     , ppad-sha512 >= 0.1.3 && < 0.2
     46     , primitive >= 0.8 && < 0.10
     47     , text >= 2.1 && < 2.2
     48     , text-icu >= 0.8 && < 0.9
     49 
     50 test-suite bip39-tests
     51   type:                exitcode-stdio-1.0
     52   default-language:    Haskell2010
     53   hs-source-dirs:      test
     54   main-is:             Main.hs
     55   other-modules:
     56     Vectors
     57 
     58   ghc-options:
     59     -rtsopts -Wall -O2
     60 
     61   build-depends:
     62       base
     63     , aeson
     64     , array
     65     , bytestring
     66     , ppad-base16
     67     , ppad-bip32
     68     , ppad-bip39
     69     , tasty
     70     , tasty-hunit
     71     , text
     72     , text-icu
     73     , vector
     74 
     75 benchmark bip39-bench
     76   type:                exitcode-stdio-1.0
     77   default-language:    Haskell2010
     78   hs-source-dirs:      bench
     79   main-is:             Main.hs
     80 
     81   ghc-options:
     82     -rtsopts -O2 -Wall
     83 
     84   build-depends:
     85       base
     86     , array
     87     , bytestring
     88     , criterion
     89     , deepseq
     90     , ppad-bip39
     91