Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
52 lines (47 sloc) 2.08 KB
Name: digest-pure
Version: 0.0.3
License: OtherLicense
License-file: LICENSE
Copyright: Copyright 2011 Daniël de Kok
Maintainer: Daniël de Kok <me@danieldk.eu>
Author: Daniël de Kok <me@danieldk.eu>
Homepage: http://github.com/danieldk/digest-pure
Category: Cryptography
Synopsis: Pure hash functions for bytestrings
Description: This package provides pure hash functions for pure and lazy
bytestrings, implementing the same interface as the /digest/
package.
.
For efficiency, use the /digest/ package, which provides
FFI bindings to efficient code from zlib, instead.
.
Performance compared to 'Data.Digest' on a Mac Mini 2010,
2.4GHz Core 2 Duo, using 'Data.ByteString.Lazy.ByteString':
.
* Data.Digest.Pure.Adler32: 380 MB/s
.
* Data.Digest.Adler32: 4906 MB/s
.
* Data.Digest.Pure.CRC32: 232 MB/s
.
* Data.Digest.CRC32: 774 MB/s
Build-Type: Simple
Cabal-Version: >= 1.8
Extra-Source-Files: test/TestSuiteDigestPure.hs
Source-Repository head
type: git
location: git@github.com:danieldk/digest-pure.git
Library
Build-Depends: base >= 4 && < 5, bytestring >= 0.9.1.10 && < 1.0,
array >= 0.3.0.2 && < 0.6
Exposed-modules: Data.Digest.Pure.Adler32, Data.Digest.Pure.CRC32
Ghc-Options: -Wall -O2
HS-Source-Dirs: src
Test-Suite TestSuiteDigestPure
Type: exitcode-stdio-1.0
Main-Is: TestSuiteDigestPure.hs
Build-Depends: base >= 4 && < 5, bytestring >= 0.9.1.10 && < 1.0,
array >= 0.3.0.2 && < 0.6, QuickCheck >= 2.4.0.1,
digest >= 0.0.0.9
Ghc-Options: -O2
HS-Source-Dirs: src, test