Realm

oa::crypto::hash::sha3_256

Hash each U8 [batch, message_bytes] row with SHA3-256. Returns exact 32-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 sha3_256( input: &Matrix ) -> Result<Matrix>
Hash each U8 [batch, message_bytes] row with SHA3-256. Returns exact 32-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.