Skip to main content

sha1

Function sha1 

Source
pub fn sha1(data: &[u8]) -> [u8; 20]
Expand description

Compute the SHA-1 of data. Returns the 20-byte digest.