Function sha1
pub fn sha1(data: &[u8]) -> [u8; 20]Available on crate feature
boring only.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.