Skip to main content

hex_sha1

Function hex_sha1 

pub fn hex_sha1(content: &[u8]) -> String
Available on crate feature reqsign only.
Expand description

Hex encoded SHA1 hash.

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