ic-hash-0.1.2 has been yanked.
ic-hash — FIPS 180-4 and FIPS 202 hash functions
Pure-Rust, no_std, allocation-free implementations of the SHA-2 and SHA-3
families plus the SHAKE extendable-output functions.
use Sha256;
use Digest;
let d = digest;
assert_eq!;
Every type here implements [ic_core::traits::Digest] (or [ic_core::traits::Xof])
and [ic_core::traits::SelfTest], so ic-fips can drive their known-answer
tests generically.