Skip to main content

hex_sha256

Function hex_sha256 

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

Hex encoded SHA256 hash.

Use this function instead of hex::encode(sha256(content)) can reduce extra copy.