This repository has been archived by the owner on Mar 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
digest-pure.cabal
51 lines (47 loc) · 2.08 KB
/
digest-pure.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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