(value: &[u8])
| 10 | } |
| 11 | |
| 12 | pub fn hash_str(value: &[u8]) -> String { |
| 13 | let mut hasher = Sha3::sha3_256(); |
| 14 | hasher.input(value); |
| 15 | hasher.result_str() |
| 16 | } |
| 17 | |
| 18 | pub fn hash_u8(value: &[u8], mut out: &mut [u8]) { |
| 19 | let mut hasher = Sha3::sha3_256(); |
no outgoing calls
no test coverage detected