name: digest version: 0.0.0.3 x-revision: 1 copyright: (c) 2008 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 extra-source-files: cbits/crc32.h flag bytestring-in-base description: In the ghc-6.6 era the bytestring modules were included in the base package. library -- broken package release (due to FFI includes) build-depends: base<0 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, bytestring >= 0.9 includes: zlib.h zutil.h zconf.h ghc-options: -Wall if !os(windows) extra-libraries: z else c-sources: cbits/adler32.c cbits/crc32.c include-dirs: cbits install-includes: zlib.h zconf.h zutil.h