Skip to main content

digest_bytes

Function digest_bytes 

Source
pub fn digest_bytes(domain: &str, bytes: &[u8]) -> String
Expand description

Domain-separated SHA-256 digest encoded as sha256:<hex>.