Skip to main content
Version: 0.1.23

Encryption

Block and stream ciphers by mode: AES (ECB, CBC, CTR, CFB, OFB, GCM, CCM, XTS), ARIA, Camellia, DES/3DES, ChaCha20, ChaCha20-Poly1305, RC4 (legacy; not recommended).

Streaming / incremental processing

If your application receives data in chunks, use context-based APIs:

  • AES: noxtls_aes_init() / noxtls_aes_update() / noxtls_aes_final()
  • ARIA: noxtls_aria_init() / noxtls_aria_update() / noxtls_aria_final()
  • Camellia: noxtls_camellia_init() / noxtls_camellia_update() / noxtls_camellia_final()
  • ChaCha20 already supports streaming with noxtls_chacha20_init() / noxtls_chacha20_process()
  • RC4 supports streaming with rc4_init() / noxtls_rc4_process() (legacy only; RC4 is weak and should not be used for new designs)
  • Poly1305 already supports incremental MAC with poly1305_init() / poly1305_update() / poly1305_final()

Pages

AES (grouped)

ARIA

Camellia (grouped)

Other