cryptohash-sha1: Fast, pure and practical SHA-1 implementation

[ bsd3, cryptography, data, library ] [ Propose Tags ] [ Report a vulnerability ]

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.

Modules

[Index] [Quick Jump]

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.11.7.1, 0.11.7.2, 0.11.100.0, 0.11.100.1, 0.11.101.0
Change log changelog.md
Dependencies base (>=4.5 && <4.21), bytestring (>=0.9.2 && <0.13) [details]
Tested with ghc ==9.10.1, ghc ==9.8.2, ghc ==9.6.5, ghc ==9.4.8, ghc ==9.2.8, ghc ==9.0.2, ghc ==8.10.7, ghc ==8.8.4, ghc ==8.6.5, ghc ==8.4.4, ghc ==8.2.2, ghc ==8.0.2
License BSD-3-Clause
Copyright Vincent Hanquez, Herbert Valerio Riedel
Author
Maintainer https://github.com/haskell-hvr/cryptohash-sha1
Revised Revision 5 made by AndreasAbel at 2024-06-26T08:40:21Z
Category Data, Cryptography
Home page https://github.com/haskell-hvr/cryptohash-sha1
Bug tracker https://github.com/haskell-hvr/cryptohash-sha1/issues
Source repo head: git clone https://github.com/haskell-hvr/cryptohash-sha1.git
Uploaded by phadej at 2021-11-13T17:15:39Z
Distributions Arch:0.11.101.0, Debian:0.11.100.1, Fedora:0.11.101.0, LTSHaskell:0.11.101.0, NixOS:0.11.101.0, Stackage:0.11.101.0, openSUSE:0.11.101.0
Reverse Dependencies 23 direct, 3606 indirect [details]
Downloads 42383 total (200 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2021-11-13 [all 1 reports]