Trait Hash256
pub trait Hash256<T>where
T: ?Sized,{
// Required method
fn hash_sha256(&self) -> HashDigest<T>;
}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<T>
fn hash_sha256(&self) -> HashDigest<T>
Hash the type