> Aztec.nr API reference, v6.0.0 (mainnet and testnet). Index: https://docs.aztec.network/aztec-nr-api/v6.0.0/llms.txt

# Module aes128

Module: `std::aes128`

## Functions

- [aes128_encrypt](/aztec-nr-api/v6.0.0/std/aes128/fn.aes128_encrypt.md): Given a plaintext as an array of bytes, returns the corresponding aes128 ciphertext (CBC mode). Input padding is performed using PKCS#7, so that the output length is `input.len() + (16 - input.len() % 16)`.
