Implementations of the SHA suite of message digest functions

Version on this page:
LTS Haskell 21.13:
Stackage Nightly 2023-09-24:
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-,4406

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.