CoderTools

Camellia Encryption & Decryption

ISO/NESSIE/CRYPTREC certified cipher - equivalent security to AES

Security Notice

Camellia provides excellent security equivalent to AES. It is recommended for applications requiring ISO/IEC standards compliance or Japanese/European certifications.

Format Options

About Camellia

About Camellia

Camellia is a symmetric key block cipher developed jointly by Mitsubishi Electric and NTT of Japan in 2000. It was designed to be highly secure while maintaining excellent performance on both hardware and software implementations.

Key Features

  • 128-bit block size with 128/192/256-bit key options
  • 18 rounds for 128-bit keys, 24 rounds for 192/256-bit keys
  • Feistel structure with FL/FL⁻¹ functions for enhanced security
  • ISO/IEC 18033-3, NESSIE, and CRYPTREC certified
  • Patent-free since 2017, freely available for any use
  • Patent-free since 2017, freely available for any use

Encryption Modes

Encryption Modes

ECB: Electronic Codebook - Each block is encrypted independently. Simple but not recommended for most uses.
CBC: Cipher Block Chaining - Each block is XORed with the previous ciphertext block before encryption. Requires IV.
CFB: Cipher Feedback - Turns block cipher into stream cipher. Self-synchronizing mode.
OFB: Output Feedback - Generates keystream independently. No error propagation.

Algorithm Comparison

Algorithm Block Size Key Length Security Standard Standard
Camellia128 bit128/192/25618/24ExcellentISO/NESSIE/CRYPTREC
AES128 bit128/192/25610/12/14GoodNIST
Twofish128 bit128/192/25616ExcellentAES Finalist
DES64 bit5616ExcellentWeak

Security Considerations

  • Camellia provides security equivalent to AES with no known practical attacks
  • The cipher uses a combination of Feistel structure and SPN structure for enhanced security
  • Extensive cryptanalysis has confirmed its resistance to differential and linear cryptanalysis
  • 128-bit block size meets modern security requirements and avoids birthday attack vulnerabilities
  • 128-bit block size meets modern security requirements and avoids birthday attack vulnerabilities

Use Cases

Applications requiring ISO/IEC 18033-3 compliance
Japanese government and financial system encryption
European projects requiring NESSIE-certified algorithms
TLS/SSL encryption (RFC 5932, RFC 6367)
IPsec VPN encryption (RFC 4312)
IPsec VPN encryption (RFC 4312)

References

Related Tools