Skip to main content

hash_bytes

Function hash_bytes 

Source
pub fn hash_bytes(content: &[u8]) -> String
Expand description

Compute SHA-256 of raw bytes.

Returns "sha256:<64-char-lowercase-hex>".