Skip to main content

content_digest_sha256

Function content_digest_sha256 

Source
pub fn content_digest_sha256(body: &[u8]) -> String
Expand description

Computes a Content-Digest field value over body using SHA-256, in the RFC 9530 dictionary form sha-256=:<base64>:.