name: digest version: 0.0.0.7 x-revision: 1 copyright: (c) 2009 Eugene Kirpichov license: BSD3 license-file: LICENSE author: Eugene Kirpichov maintainer: Eugene Kirpichov category: Cryptography synopsis: Various cryptographic hashes for bytestrings; CRC32 and Adler32 for now. description: This package provides efficient cryptographic hash implementations for strict and lazy bytestrings. For now, CRC32 and Adler32 are supported; they are implemented as FFI bindings to efficient code from zlib. stability: provisional build-type: Simple cabal-version: >= 1.2.1 flag bytestring-in-base description: In the ghc-6.6 era the bytestring modules were included in the base package. library exposed-modules: Data.Digest.CRC32, Data.Digest.Adler32 extensions: CPP, ForeignFunctionInterface build-depends: base < 5 if flag(bytestring-in-base) -- bytestring was in base-2.0 and 2.1.1 build-depends: base >= 2.0 && < 2.2 cpp-options: -DBYTESTRING_IN_BASE else build-depends: base < 2.0 || >= 2.2, base < 4.7, bytestring >= 0.9 && < 0.11 includes: zlib.h ghc-options: -Wall if !os(windows) extra-libraries: z else build-depends: zlib