pub fn sha1_digest(bytes: &[u8]) -> [u8; 20]
Computes the SHA-1 digest of bytes.
bytes
Useful for content-based cache keys when you want to avoid staleness caused by path-only keys.