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