pub fn sha512_half(data: &[u8]) -> Result<[u8; 32]>
SHA-512Half: SHA-512 of data, truncated to the first 32 bytes.
data
data may be 0..=1024 bytes (maxWasmParamLength); the host returns DataFieldTooLarge for larger input.
maxWasmParamLength
DataFieldTooLarge