pub fn sha256(bytes: &[u8]) -> [u8; 32]
crypto
std
SHA-256 of bytes, e.g. a DER-encoded SubjectPublicKeyInfo.
bytes
SubjectPublicKeyInfo