sp_
crypto_
hashing
0.1.0
sp_crypto_hashing
Function
sha2_256
Copy item path
Source
pub fn sha2_256(data: &[
u8
]) -> [
u8
;
32
]
Expand description
Do a sha2 256-bit hash and return result.