name: SHA category: Cryptography, Codec version: 1.5.0.1 license: BSD3 license-file: LICENSE author: Adam Wick , Brian Lewis maintainer: Adam Wick stability: stable build-type: Simple cabal-version: >= 1.6 tested-with: GHC ==6.8.0 synopsis: Implementations of the SHA suite of message digest functions description: This library implements the SHA suite of message digest functions, according to NIST FIPS 180-2 (with the SHA-224 addendum), as well as the SHA-based HMAC routines. The functions have been tested against most of the NIST and RFC test vectors for the various functions. While some attention has been paid to performance, these do not presently reach the speed of well-tuned libraries, like OpenSSL. Flag Test Description: Build the SHA test suite. Default: False Flag exe Description: Build a SHA2-384 executable similar to 'md5sum' Default: False Library build-depends: base >= 4 && < 6, bytestring, binary, array exposed-modules: Data.Digest.Pure.SHA GHC-Options: -O2 -Wall -fno-ignore-asserts -funbox-strict-fields -fwarn-tabs extensions: CPP, BangPatterns if impl(ghc >= 6.12) Ghc-Options: -fregs-graph Executable test_sha build-depends: base >= 4 && < 6, bytestring, binary, array GHC-Options: -O2 -Wall -fno-ignore-asserts -fno-warn-orphans -funbox-strict-fields -fwarn-tabs cpp-options: -DSHA_TEST Main-Is: Test.hs Other-Modules: Data.Digest.Pure.SHA extensions: CPP, BangPatterns, MultiParamTypeClasses if !flag(test) buildable: False else build-depends: QuickCheck == 2.*, test-framework == 0.3.*, test-framework-quickcheck2 == 0.2.* if impl(ghc >= 6.12) Ghc-Options: -fregs-graph Executable sha1 build-depends: base >= 4 && < 6, bytestring, binary, array GHC-Options: -O2 -Wall -fno-ignore-asserts -funbox-strict-fields -fwarn-tabs Main-Is: Main.hs extensions: CPP, BangPatterns cpp-options: -DALGORITHM=sha1 if !flag(exe) buildable: False else build-depends: directory if impl(ghc >= 6.12) Ghc-Options: -fregs-graph Executable sha384 build-depends: base >= 4 && < 6, bytestring, binary, array GHC-Options: -O2 -Wall -fno-ignore-asserts -funbox-strict-fields -fwarn-tabs Main-Is: Main.hs extensions: CPP, BangPatterns cpp-options: -DALGORITHM=sha384 if !flag(exe) buildable: False else build-depends: directory if impl(ghc >= 6.12) Ghc-Options: -fregs-graph source-repository head type: git location: git://github.com/GaloisInc/SHA.git