K015 / Symmetric ciphers (block and stream)
ARIA
ARIA is a 128-bit block cipher supporting 128-, 192- and 256-bit keys.
CRYPTOGRAPHY LAB / K015
Cryptography Lab · ARIA
Run real computations and inspect intermediate states step by step.
Educational only. Never enter real passwords or secret keys. Computation stays in your browser; input and trace values are not sent to a server. Do not use this implementation in production.
ARIA (128/192/256)
See the scope above for fixed examples, reduced parameters and supported variants. Standard operation names and formulas are retained.Output
Previous state
- Definition and overview
- ARIA is a 128-bit block cipher supporting 128-, 192- and 256-bit keys. Source document ↗
- Classification and reversibility
- A reversible block cipher that uses the same round structure for encryption and decryption. Source document ↗
- Key or secret requirements
- Encryption requires a 128-, 192- or 256-bit key. Source document ↗
- Operating principle and structure
- An involution SPN structure using basic operations such as S-box substitution and XOR. Source document ↗
- Key size, block size and parameters
- 128-bit block, 128/192/256-bit keys and 12/14/16 rounds depending on key size. Source document ↗
- Security strength and recommendation
- AES is recommended first unless protocol or regional requirements dictate otherwise. Source document ↗
- Known attacks and vulnerabilities
- No known practical vulnerabilities are reported. Source document ↗
- Standards and certification
- Became Korean standard KS X 1213 in 2004 and is described in RFC 5794. Source document ↗
- Typical uses
- Used as a block cipher in TLS cipher suites. Source document ↗
- Implementations, libraries and tools
- Supported by the Bouncy Castle library. Source document ↗
- Decryption or decoding
- Set the key, IV, mode and direction through a library API to encrypt or decrypt. Source document ↗
- Advantages
- Can be implemented efficiently on diverse platforms. Source document ↗
- Limitations and cautions
- Multi-block data requires an operating mode; follow the same key and IV rules as AES. Source document ↗
- Distinguishing encryption, encoding and hashing
- ARIA is keyed block encryption, not encoding or hashing. Source document ↗
Practical examples
Example
Encrypt plaintext with an ARIA key, operating mode and IV, then decrypt with the same parameters. Use modes such as CBC or GCM for multiple blocks and manage keys and IVs/nonces securely.
Procedure
1) Check whether protocol or policy requires ARIA. 2) Choose key length, mode, IV/nonce and padding rules. 3) Encrypt with a vetted library. 4) Decrypt with the same key, mode and IV (or nonce/tag). 5) Treat Base64 encoding as a separate step.
Scenario
Use vetted libraries for encrypted communications or storage in Korean public-sector or financial integrations and protocols specifying ARIA, such as TLS/SRTP. Safely convey or store mode, IV/nonce and tag metadata alongside ciphertext.
Pitfalls and alternatives
Avoid ECB, IV/nonce reuse, hardcoded keys and omitted padding/tag verification. Base64 representation of ARIA ciphertext is not encryption. Prefer recommended algorithms such as AES when ARIA is unnecessary; otherwise use standard modes and vetted implementations.
References
- RFC 5794: A Description of the ARIA Encryption Algorithm | RFC Editor ↗
- aria.rs - source ↗
- New block cipher: ARIA ↗
- ARIA (cipher) ↗
- ARIA (shared) | NoxTLS Documentation ↗
- ARIA (block cipher) · Encryption Codex ↗
- RFC 6209: Addition of the ARIA Cipher Suites to Transport Layer Security (TLS) | RFC Editor ↗
- Encryption – SEED / ARIA / AES – Sanguri's technical blog ↗