Function sp_core::hashing::sha2_256[][src]

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

Do a sha2 256-bit hash and return result.