pub fn sha256_hex(bytes: &[u8]) -> String
SHA-256 hex digest of bytes for source and snapshot references.