memsecurity 3.5.2

Securely hold secrets in memory and protect them against cross-protection-boundary readout via microarchitectural, via attacks on physical layout, and via coldboot attacks.
Documentation
1
2
3
4
5
6
7
/// This trait ensures that a type can be converted into a Blake3 Hash.
/// This can be useful especially for equality checks since [blake3::Hash]
/// already implements constant time equality checks
pub trait ToBlake3Hash {
    /// The outcome of hashing `Self` with `blake3::hash`
    fn hash(&self) -> blake3::Hash;
}