IDEA
The International Data Encryption Algorithm: a Lai–Massey cipher mixing three groups
Old but not broken. Kept for interoperability; root API only. Reach it with NextSSL(root=True) in Python or the nextssl_root_* functions in C.
About IDEA
IDEA is a block cipher. It uses a 16-byte (128-bit) key and an 8-byte (64-bit) block. Its registry entry cites IDEA (Lai, Massey 1991) and NESSIE. NextSSL lists it in the legacy tier and exposes it through the root API only (NextSSL(root=True) in Python, nextssl_root_* in C).
Overview
IDEA is a 64-bit block cipher with a 128-bit key designed by Xuejia Lai and James Massey and published in 1991. It was the cipher used in the original PGP and was evaluated by NESSIE.
IDEA's security rests on mixing operations from three incompatible algebraic groups: XOR, addition modulo 2^16 and multiplication modulo 2^16 + 1. Each of its 8.5 rounds splits the block into four 16-bit words and combines them with six 16-bit subkeys in a multiply–add structure, now called the Lai–Massey scheme. No S-boxes or lookup tables are used.
IDEA's patents expired in 2012, after which it became freely usable; by then AES had largely replaced it. IDEA's mixing of incompatible operations influenced many later designs, including MESH and FOX, and remains a standard example in cryptography courses. Its 64-bit block means that no more than a few gigabytes should be encrypted under a single key, since block collisions become likely around 2^32 blocks.
History
1991–2003IDEA published by Xuejia Lai, James Massey
European NESSIE project opens its call for primitives
NESSIE projectNESSIE portfolio published
NESSIE project
Security notes
No practical attack on full IDEA is known, though large classes of weak keys exist and the best attacks on the full cipher are only marginally faster than brute force. Its 64-bit block is vulnerable to birthday-bound attacks with large data volumes.
Typical uses
Sizes
| Field | Bytes | Meaning |
|---|---|---|
| key | 16 | Secret key |
| block | 8 | Block |
Use it
from nextssl_demo import NextSSL
root = NextSSL(root=True) # tier 'legacy' is reachable from the root API only
block = root.call("blockcipher_encrypt", "idea", None, key, plaintext_block)[0]
nextssl_root_blockcipher_encrypt("idea", NULL, key, block, out); /* exactly one block */
use nextssl_core::Params;
use nextssl_registry::{self as reg, Policy};
let alg = reg::new_blockcipher_in(reg::all(), Policy::Any, "idea", &Params::new())?;
let out = alg.encrypt_block(&key, &block)?;
Calls follow the NextSSL C ABI and its language bindings. Buffer sizes are validated against the sizes above.
Similar names
Looking for something else?More block ciphers
All 84Frequently asked questions
What is IDEA?
IDEA is a block cipher in the IDEA family. IDEA is a 64-bit block cipher with a 128-bit key designed by Xuejia Lai and James Massey and published in 1991.
What are the IDEA sizes?
In NextSSL, IDEA uses: key 16 bytes, block 8 bytes.
Who designed IDEA and when?
IDEA belongs to the IDEA family, first published in 1991 by Xuejia Lai, James Massey. Its origin: NESSIE.
Which standards define IDEA?
IDEA is referenced by IDEA (Lai, Massey 1991), NESSIE.
Is IDEA safe to use?
IDEA is in the legacy tier. Old but not broken. Kept for interoperability; root API only. It is only reachable through the root API (NextSSL(root=True) in Python, nextssl_root_* in C).
Related families
The Advanced Encryption Standard: the world's default 128-bit block cipher
beltBelarus's 128-bit block cipher standard and the hash function built on it
CAST-128 and CAST-256Carlisle Adams and Stafford Tavares's Feistel ciphers, once default in PGP
beltBelarus's 128-bit block cipher standard and the hash function built on it