pub trait Hashable {
    fn bytes(&self) -> Vec<u8>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
; fn hash(&self) -> Vec<u8>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A> where
    A: Allocator
{ ... } }
Expand description

sha-256 means generate 32 byte hash

Required Methods

Provided Methods

Implementors

Concatenate together all the bytes

Generate unique data fingerprint: the hash