Function sp_io::hashing::sha2_256[][src]

pub fn sha2_256(data: &[u8]) -> [u8; 32]

Conduct a 256-bit Sha2 hash.