Macro sp_core_hashing_proc_macro::sha2_256
source · sha2_256!() { /* proc-macro */ }
Expand description
Apply a sha2 256-bit hash on its bytes parameter, outputs a [u8; 32]
.
Multiple inputs are concatenated before hashing.
Input can be identifier (name of identifier as bytes is used), byte string or
array of bytes.