Function sodot_keccak256

Source
pub unsafe extern "C" fn sodot_keccak256(
    ptr: *const u8,
    len: usize,
    hash32: *mut [u8; 32],
)
Expand description

Computes the Keccak256 hash of the given data. The data is expected to be a pointer to a byte array of length len. The hash is written to the hash32 pointer, which should point to a 32-byte array.