Realm

oa::crypto::hash::sha512

Hash each U8 [batch, message_bytes] row with SHA512. Returns exact 64-byte digest rows without padding. Empty messages are valid. Records device work without a host wait. Ordinary Matrix storage is public data; secret-bearing hashing requires the separate secret execution boundary. Errors Rejects invalid rank, dtype, batch size, address limits, allocation or recording failures.

FnRust public API

Function Documentation

pub fn sha512( input: &Matrix ) -> Result<Matrix>
Hash each U8 [batch, message_bytes] row with SHA512. Returns exact 64-byte digest rows without padding. Empty messages are valid. Records device work without a host wait. Ordinary Matrix storage is public data; secret-bearing hashing requires the separate secret execution boundary. Errors Rejects invalid rank, dtype, batch size, address limits, allocation or recording failures.