Function openssl::sha::sha1

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

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.

This corresponds to SHA1.