Skip to main content

Module sha256

Module sha256 

Source
Expand description

NIST FIPS 180-4 SHA-256 cryptographic hash function.

Pure-Rust, #![no_std], #![forbid(unsafe_code)], division-free, zero-allocation implementation with automatic state zeroization on drop and in-place digest output.

Structsยง

Sha256
Streaming SHA-256 hash context (FIPS 180-4, Section 6.2).