Skip to main content

hex_sha1

Function hex_sha1 

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

Hex encoded SHA1 hash.

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