Implementations of the SHA suite of message digest functions

LTS Haskell 22.30:
Stackage Nightly 2024-07-23:
Latest on Hackage:

See all snapshots SHA appears in

BSD-3-Clause licensed by Adam Wick, Brian Lewis
Maintained by Adam Wick, Raphael Javaux
This version can be pinned in stack with:SHA-,4920

Module documentation for

This library implements the SHA suite of message digest functions, according to NIST FIPS 180-2 (with the SHA-224 addendum), as well as the SHA-based HMAC routines. The functions have been tested against most of the NIST and RFC test vectors for the various functions. While some attention has been paid to performance, these do not presently reach the speed of well-tuned libraries, like OpenSSL.