Skip to content
The Internet Compass

crates.io

sha2

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

Security

3 known advisories

From the Open Source Vulnerabilities (OSV) database — most recent: GHSA-fc7x-2cmc-8j2g. Check the advisory before using this version in production.

Repository

https://github.com/RustCrypto/hashes ↗

Sourced from crates.io · Updated September 6, 2026

Package metadata from crates.io, the Rust community's crate registry.

View original source ↗Spot an error on this page? Let us know →

FAQ

Common questions

What is sha2?

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

Is sha2 safe to use?

sha2 has 3 known advisories in the OSV database — check before using this version in production.

What license does sha2 use?

sha2 does not specify a license.