packages feed

g3p-hash-2.0.0.0: g3p-hash.cabal

name:                g3p-hash
version:             2.0.0.0
synopsis:            Global Password Prehash Protocol
description:         A password hash and key derivation function that provides
                     embedded attributions in order to support self-documenting
                     deployments.
license:             Apache-2.0
license-file:        LICENSE
author:              Leon P Smith
maintainer:          Auth Global
copyright:           Auth Global
category:            Cryptography
build-type:          Simple
extra-source-files:  ChangeLog.md
                     g3p-test-vectors.json
                     g3pb1-test-vectors.json
                     test/MyCorpExample.hs
cabal-version:       >=1.10

library
  exposed-modules:   Crypto.G3P
                     Crypto.G3P.V1
                     Crypto.G3P.V2
                     Crypto.G3P.V2.Foxtrot
                     Crypto.G3P.V2.Subtle
                     Crypto.G3P.BCrypt
                     Crypto.G3P.BCrypt.Subtle

  build-depends:     base < 5
                   , bytestring
                   , network-byte-order
                   , phkdf >= 0.1
                   , Stream
                   , tuplehash-utils >= 0.1
                   , vector
  hs-source-dirs:    lib
  include-dirs:      csrc
  c-sources:         csrc/g3p_bcrypt.c
                     csrc/g3p_bcrypt_base64.c
  install-includes:  csrc/g3p_bcrypt.h
                     csrc/g3p_bcrypt_base64.h
  ghc-options:       -Wall
  cc-options:        -Wall
  default-language:  Haskell2010

source-repository head
  type:     git
  location: http://github.com/auth-global/self-documenting-cryptography
  subdir:   g3p-hash

test-suite test
  type:              exitcode-stdio-1.0
  hs-source-dirs:    test
  main-is:           Main.hs

  other-modules:     G3Pb1
                     G3Pb2
--                    MyCorpExample
                     Bcrypt

  build-depends:     base
                   , aeson >= 2
--                   , argon2
                   , bcrypt
                   , base16 >= 1
                   , bytestring
                   , containers
                   , g3p-hash
                   , hash-string
                   , network-byte-order
                   , phkdf
                   , Stream
                   , tasty
                   , tasty-hunit
                   , text
                   , vector
  default-language:  Haskell2010