name:                tuplehash-utils
version:             0.1.0.0
synopsis:            Left Encode and friends from SHA-3's TupleHash
description:
  See NIST Special Publication 800-185: SHA-3 Derived Functions: cSHAKE, KMAC,
  TupleHash and ParallelHash.
  <https://www.nist.gov/publications/sha-3-derived-functions-cshake-kmac-tuplehash-and-parallelhash>
  Note that this does not implement TupleHash itself, though it could be used
  to implement TupleHash given an implementation of Keccak/SHA-3.  This only
  implements the data-encoding portions of TupleHash, and does not
  implement any kind of cryptographic state machine.

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
cabal-version:       >=1.10

library
  exposed-modules:     Crypto.Encoding.SHA3.TupleHash
  -- other-modules:
  -- other-extensions:
  ghc-options:         -Wall
  build-depends:       base < 5,
                       bytestring,
                       integer-logarithms
  hs-source-dirs:      lib
  default-language:    Haskell2010

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

test-suite test
    default-language: Haskell2010
    type:             exitcode-stdio-1.0
    hs-source-dirs:   test
    main-is:          Main.hs
    build-depends:    base
                    , bytestring
                    , tasty
                    , tasty-quickcheck
                    , tasty-hunit
                    , tuplehash-utils