digest: CRC32 and Adler32 hashes for bytestrings
This package provides efficient 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.
Flags
Manual Flags
Name | Description | Default |
---|---|---|
have_builtin_prefetch | The cxx compiler has the __builtin_prefetch intrinsic. | Disabled |
have_mm_prefetch | Targeting X86 and the compiler has the _mm_prefetch intrinsic. | Disabled |
have_sse42 | Can be enabled to improve performance of CRC32C if targeting X86 and the compiler has the _mm_crc32_u{8,32,64} intrinsics. | Disabled |
have_arm64_crc32c | Targeting ARM and the compiler has the __crc32c{b,h,w,d} and the vmull_p64 intrinsics. | Disabled |
have_strong_getauxval | The system libraries have the getauxval function in the sys/auxv.h header. Should be true on Linux and Android API level 20+. | Disabled |
have_weak_getauxval | The compiler supports defining getauxval as a weak symbol. Should be true for any compiler that supports attribute((weak)). | Disabled |
Automatic Flags
Name | Description | Default |
---|---|---|
pkg-config | Use | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- digest-0.0.2.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.0.0.1, 0.0.0.2, 0.0.0.3, 0.0.0.4, 0.0.0.5, 0.0.0.6, 0.0.0.7, 0.0.0.8, 0.0.0.9, 0.0.1.0, 0.0.1.1, 0.0.1.2, 0.0.1.3, 0.0.1.4, 0.0.1.5, 0.0.1.6, 0.0.1.7, 0.0.2.0, 0.0.2.1 |
---|---|
Change log | CHANGELOG.md |
Dependencies | base (>=4.12 && <5), bytestring (>=0.10 && <0.13), zlib [details] |
Tested with | ghc ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.3 || ==9.8.1 |
License | BSD-2-Clause |
Copyright | (c) 2009 Eugene Kirpichov |
Author | Eugene Kirpichov <ekirpichov@gmail.com> |
Maintainer | Eugene Kirpichov <ekirpichov@gmail.com> |
Category | Cryptography |
Source repo | head: git clone https://github.com/TeofilC/digest |
Uploaded | by teo at 2024-02-10T14:26:08Z |
Distributions | Arch:0.0.1.7, Debian:0.0.1.2, Fedora:0.0.1.7, FreeBSD:0.0.1.2, LTSHaskell:0.0.2.1, NixOS:0.0.2.1, Stackage:0.0.2.1, openSUSE:0.0.2.1 |
Reverse Dependencies | 25 direct, 258 indirect [details] |
Downloads | 127560 total (336 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs uploaded by user Build status unknown [no reports yet] |