Skip to main content

sha512_half

Function sha512_half 

Source
pub fn sha512_half(data: &[u8]) -> Result<[u8; 32]>
Expand description

SHA-512Half: SHA-512 of data, truncated to the first 32 bytes.

data may be 0..=1024 bytes (maxWasmParamLength); the host returns DataFieldTooLarge for larger input.