pub trait Hashable { // Required method fn bytes(&self) -> Vec<u8> ⓘ; // Provided method fn hash(&self) -> Vec<u8> ⓘ { ... } }
sha-256 means generate 32 byte hash
Concatenate together all the bytes Generate unique data fingerprint: the hash