pub fn generate_hash(password: &str) -> Vec<u8>Notable traits for Vec<u8, A>impl<A> Write for Vec<u8, A>where
    A: Allocator,
Expand description

Generate a hash from a slice. Returns the actual bytes of the hashing process. If the hash cannot be generated, panics.

To have this function work properly, one should call init_hasher when initializing whathever module or test this function is used on.