digest: CRC32 and Adler32 hashes for bytestrings

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.

[maintain] [Publish]

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.

Properties

Versions 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.0, 0.0.2.1
Change log CHANGELOG.md
Dependencies base (>=4.12 && <5), bytestring (>=0.10 && <0.13), zlib [details]
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 2023-12-13T11:47:51Z

Modules

[Index] [Quick Jump]

Flags

Manual Flags

NameDescriptionDefault
pkg-config

Use pkg-config(1) to locate zlib library.

Enabled
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

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees