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

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

Do a sha2 256-bit hash and return result.