aztec-nr - noir_aztec::messages::encryption::aes128

Struct AES128

pub struct AES128 {}

Trait implementations

impl MessageEncryption for AES128

pub fn encrypt<let PlaintextLen: u32>( plaintext: [Field; PlaintextLen], recipient: AztecAddress, ) -> [Field; 17] pub unconstrained fn decrypt( ciphertext: BoundedVec<Field, 17>, recipient: AztecAddress, ) -> BoundedVec<Field, 14>