Trait Hash256
pub trait Hash256 {
// Required method
fn hash_sha256(&self) -> HashDigest;
}Expand description
A trait for types that can be hashed with Sha256 by directly hashing the bytes exposed as AsRef<[u8]>.
Required Methods§
fn hash_sha256(&self) -> HashDigest
fn hash_sha256(&self) -> HashDigest
Hash the type