pureMD5-2.0.0.0: pureMD5.cabal
name: pureMD5
version: 2.0.0.0
license: BSD3
license-file: LICENSE
author: Thomas DuBuisson <thomas.dubuisson@gmail.com>
maintainer: Thomas DuBuisson
description: A Haskell-only implementation of the MD5 digest (hash) algorithm. This now supports
the crypto-api class interface.
synopsis: A Haskell-only implementation of the MD5 digest (hash) algorithm.
category: Data, Cryptography
stability: stable
build-type: Simple
cabal-version: >= 1.6
tested-with: GHC == 6.12.1
extra-source-files: Test/MD5.hs Test/md5test.hs
flag LittleEndian
description: Set to true if the architecture is little endian (uses native Word32 loads instead of bytes + shifts, overall 40% speed-up)
default: False
flag test
description: Build a test program
default: False
Library
Build-Depends: base == 4.*, bytestring >= 0.9 && < 0.10, binary >= 0.4.0 && < 0.6.0, cereal >= 0.2, crypto-api >= 0.0.0.1, tagged
ghc-options: -O2 -funfolding-use-threshold66 -funfolding-creation-threshold66 -fexcess-precision -funbox-strict-fields
hs-source-dirs:
exposed-modules: Data.Digest.Pure.MD5
if flag(LittleEndian)
cpp-options: -DLittleEndian
Executable md5Test
main-is: Test/main.hs
Build-Depends: base, QuickCheck, crypto-api, bytestring, cereal
if !flag(test)
buildable: False