sha2

Pure Rust implementation of the SHA-2 hash function family including SHA-224, SHA-256, SHA-384, and SHA-512.

0.11.3Latest, 30 Nov 2026
447MDownloads, last 90 days
0Advisories on the latest
3Advisories, all versions
MIT OR Apache-2.0Licence
2.3KStars
4.6/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
High Miscomputed sha2 results when using AVX2 backend CVE-2021-45696 Fixed in 0.9.8 17 Jun 2022
Critical Incorrect hash in sha2 CVE-2021-45696 Fixed in 0.9.8 6 Jan 2022
Miscomputed results when using AVX2 backend CVE-2021-45696 Fixed in 0.9.8 8 Sep 2021

On Hacker News

Sources: crates.io, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.