Skip to main content

compute_hash

Function compute_hash 

Source
pub fn compute_hash(content: &str) -> String
Expand description

Computes a SHA-256 hash of the given content, prefixed with sha256:.