Function afire::internal::encoding::sha1::hash

source ·
pub fn hash(message: &[u8]) -> [u8; 20]
Expand description

SHA1 hash function.

NOTE: This is not a secure hash function, and should not be used unless necessary.