cryptohash-sha1: Fast, pure and practical SHA-1 implementation
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.
Warnings:
- 'ghc-options: -O2' is rarely needed. Check that it is giving a real benefit and not just imposing longer compile times on your users.
- 'cc-options: -O[n]' is generally not needed. When building with optimisations Cabal automatically adds '-O2' for C code. Setting it yourself interferes with the --disable-optimization flag.
- Exposed modules use unallocated top-level names: Crypto
A practical incremental and one-pass, pure API to the SHA-1 hash algorithm (including HMAC support) with performance close to the fastest implementations available in other languages.
The implementation is made in C with a haskell FFI wrapper that hides the C implementation.
NOTE: This package has been forked off cryptohash-0.11.7
because the cryptohash
package has been
deprecated and so this package continues to satisfy the need for a lightweight package
providing the SHA1 hash algorithm without any dependencies on packages other than
base
and bytestring
.
Consequently, this package can be used as a drop-in replacement for cryptohash
's
Crypto.Hash.SHA1 module, though with a clearly smaller footprint.
Properties
Versions | 0.11.7.1, 0.11.7.2, 0.11.100.0, 0.11.100.1, 0.11.100.1, 0.11.101.0 |
---|---|
Change log | changelog.md |
Dependencies | base (>=4.5 && <4.10), bytestring (>=0.9.2 && <0.11) [details] |
License | BSD-3-Clause |
Copyright | Vincent Hanquez, Herbert Valerio Riedel |
Author | |
Maintainer | Herbert Valerio Riedel <hvr@gnu.org> |
Category | Data, Cryptography |
Home page | https://github.com/hvr/cryptohash-sha1 |
Bug tracker | https://github.com/hvr/cryptohash-sha1/issues |
Source repo | head: git clone https://github.com/hvr/cryptohash-sha1.git |
Uploaded | by HerbertValerioRiedel at 2016-06-28T07:13:51Z |
Modules
[Index]
- Crypto
- Hash
Downloads
- cryptohash-sha1-0.11.100.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
Package maintainers
For package maintainers and hackage trustees