pub trait Hash<const DIGEST_LEN: usize> {
type TypedDigest: Into<Digest<DIGEST_LEN>> + Eq + Hash + Copy + Debug;
// Required method
fn digest(&self) -> Self::TypedDigest;
}Expand description
This trait is implemented by all messages that can be hashed.