/// Returns the BLAKE2b digest of the input string
Returns the BLAKE2b digest of the input string
Returns the BLAKE2b digest of the input string
pub fn hash<T: AsRef<[u8]>>(input: T) -> Vec<u8> {
    let mut hasher = Blake2b::new();
    hasher.input(input);
    hasher.result().to_vec()
}
pub fn hash < T : AsRef < [ u8 ] > > ( input : T ) -> Vec < u8 > { let mut hasher = Blake2b :: new ( ) ; hasher . input ( input ) ; hasher . result ( ) . to_vec ( ) }
Returns the BLAKE2b digest of the input string
Returns the BLAKE2b digest of the input string
input
T