std::hash::sha1

hash

fn char[HASH_BYTES] hash(char[] data)

Parameters