Trait memsecurity::ToBlake3Hash
source · pub trait ToBlake3Hash {
// Required method
fn hash(&self) -> Hash;
}
Expand description
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