sha3_224

Function sha3_224 

Source
pub fn sha3_224(data: &[u8]) -> [u8; 28]
Expand description

Convenience function to compute the SHA3-224 hash of input data

§Arguments

  • data - Input data to be hashed

§Returns

  • A 28-byte array containing the SHA3-224 hash value

§Example

use cryptos::hash::sha3::sha3_224;
 
let data = b"Hello, world!";
let hash = sha3_224(data);