Function openssl::sha::sha1[][src]

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

Computes the SHA1 hash of some data.

Warning

SHA1 is known to be insecure - it should not be used unless required for compatibility with existing systems.