IDEA Explained: The Forgotten Cipher That Still Deserves a Look

IDEA cipher explained in plain terms means understanding the cipher that guarded the first generation of encrypted email, and that most developers today have never heard of. The central question is why a design that was trusted, standardised, and widely deployed simply faded away, and the answer is a mix of patents, a small block size, and the arrival of a faster rival.

IDEA was designed by James Massey and Xuejia Lai at ETH Zurich, published in 1991, and chosen as the cipher for PGP, the program that brought encrypted email to ordinary people. It has never been practically broken, it is still running in legacy systems, and its design ideas live on in the ciphers that followed it, which is why it deserves a second look rather than a footnote.

This article makes the case for IDEA, explains what it is, how it works, and where it still earns its place.

Key takeaways

  • IDEA is a 64-bit block cipher designed in Switzerland and published in 1991.
  • It mixes three different operations, which is unusual among ciphers.
  • It was the cipher of PGP, the program that popularised encrypted email.
  • It has never been practically broken in over thirty years.
  • Its 64-bit blocks and patent history are why it faded from use.

What IDEA is

IDEA is a symmetric block cipher, the International Data Encryption Algorithm, that encrypts data in 64-bit blocks using a 128-bit key, and runs eight and a half rounds of mixing. It was designed as a fast, compact replacement for DES, the ageing standard of the day, and it was published with its design openly described, which was unusual and deliberately provocative at the time.

Its signature feature is the mixing of three different operations. Where most ciphers use one kind of arithmetic, IDEA combines exclusive-or, addition modulo 65536, and multiplication modulo 65537, and the three operations come from different algebraic groups that do not play nicely together. That incompatibility is the point: an attacker who understands one operation gains nothing against the others.

The design was a reaction to the ciphers of its era. DES had a short 56-bit key and a fixed structure that the US government had influenced, and Massey wanted a cipher that was open, unencumbered in its design, and built from simple operations that any processor could run quickly. IDEA was the answer, and its openness became a model for the ciphers that followed.

It became the default cipher of PGP. Phil Zimmermann’s Pretty Good Privacy, the program that brought encrypted email to the public, shipped IDEA as its cipher, and for a decade it was the most widely used encryption in personal email. Its popularity is why its name is still familiar to anyone who worked in security in the nineties.

Its age shows in one number: the block size. A 64-bit block means that after about four billion blocks, around 32 gigabytes of data under one key, collisions become likely, and an attacker can start to learn things. That birthday bound is the reason IDEA should not be used for new systems, and the reason its successors doubled the block size.

Our guide to AES encryption explains the cipher that replaced IDEA as the standard, and our guide to Blowfish explains another free cipher from the same era.

How IDEA works

Everything starts with the key schedule, which expands the 128-bit key into 52 subkeys of 16 bits each. The schedule is simple: the key is split into eight subkeys, rotated by 25 bits, split again, and the process repeats until all 52 subkeys are ready. The simplicity is deliberate, because a key schedule that is easy to understand is a key schedule that is easy to trust.

Encryption runs eight full rounds plus a final half round. Each round splits the 64-bit block into four 16-bit pieces, mixes them through the three operations with six subkeys, and swaps the middle two pieces before the next round. After the eighth round, a final half round applies four more subkeys, and the block is complete.

The mixing step is where the design shines. Each round multiplies two pieces by subkeys modulo 65537, adds subkeys to the other two pieces modulo 65536, and then combines the results with exclusive-or in a pattern that spreads every input bit across the output. The combination of three incompatible operations is what makes the cipher hard to analyse, and the analysis is what attackers need.

Decryption uses the inverse subkeys. Because the operations have inverses, multiplication modulo 65537 and addition modulo 65536 can both be undone, and the decryption key schedule is simply the encryption subkeys transformed and reversed. The same code, with different subkeys, decrypts what encryption produced.

The security argument rests on the mixed operations. Because exclusive-or, addition, and multiplication come from different algebraic groups, the standard attacks that work against ciphers built from one operation do not apply cleanly to IDEA, and the design has resisted three decades of cryptanalysis without a practical break.

A dark office desk with an old brass padlock glowing green under a lamp, a sealed envelope beside it
A dark office desk with an old brass padlock glowing green under a lamp, a sealed envelope beside it, shows how IDEA works: three different kinds of arithmetic, mixed so thoroughly that no single attack can untangle them.

Comparing IDEA with other block ciphers

IDEA is one of several block ciphers a designer can choose, and each was built with a different emphasis. AES is the modern standard, fast and hardware-accelerated, Blowfish is IDEA’s contemporary with a 64-bit block and a slow key schedule, and DES is the ageing cipher IDEA was built to replace, and each approach trades age for assurance in a different way.

The table below sets out the main contrasts between the leading approaches.

Aspect IDEA AES Blowfish
Block size 64 bits 128 bits 64 bits
Key length 128 bits 128 to 256 bits 32 to 448 bits
Rounds 8.5 10, 12, or 14 16
Patent status Expired Free Free
Best for Legacy PGP systems Everything new Legacy systems

The practical result is that IDEA is the right choice only for legacy systems that already use it, AES suits everything new, and Blowfish fits the legacy systems that cannot change.

Where IDEA is used

Legacy PGP systems are its main home. Old encrypted mail archives, early versions of PGP, and systems built in the nineties that chose IDEA still run it today, and the cipher’s stability means those archives can still be read, which is a quiet endorsement of the design.

Swiss banking systems kept it running for years. IDEA’s Swiss origins and its reputation for careful design made it a natural choice for financial systems in Switzerland, and some of those systems ran it long after the rest of the world had moved to AES.

Embedded devices keep it running. Small systems with limited code space and no need for large data volumes still ship IDEA, because it is compact, well understood, and free now that its patents have expired, and the 64-bit block limit is irrelevant when the device encrypts only small amounts of data.

Open-source projects use it where history matters. Because IDEA is now unpatented and its specification is public, projects that maintain compatibility with old PGP mail include it, and the freedom from licensing is worth more than the speed a newer cipher would offer.

Teaching is its quietest use. IDEA is the standard example in courses of a cipher built from mixed algebraic operations, and students who implement it learn the design ideas that later ciphers inherited from it.

Strengths and limits

The greatest strength of IDEA is its record. Thirty years of cryptanalysis have produced no practical break, and the best known attacks require more data than any real system would ever encrypt under one key. That is a remarkable record for a cipher of its age.

It is also a strength that its patents have expired. No patents, no licences, and no royalties mean that IDEA can be used anywhere, by anyone, for any purpose, which is a freedom that mattered enormously in 1991 and still matters in open-source projects today.

The limits are real, though, and the block size is the decisive one. A 64-bit block is too small for modern data volumes, and the birthday bound means IDEA should never be chosen for a new system that encrypts more than a few gigabytes under one key. It is a cipher to maintain, not to adopt.

IDEA checklist

  • Do not choose IDEA for new systems; use AES instead.
  • Keep it running in legacy PGP systems where it already works.
  • Re-key before encrypting 32 gigabytes under one key.
  • Pair it with an authenticated mode; IDEA alone gives no tamper evidence.
  • Remember the patents expired; there is no licensing barrier left.
  • Keep the implementation reviewed; use a well-known library.
  • Plan migration to AES for systems that outgrow it.
  • Preserve old keys; without them, old archives cannot be read.
  • Revisit the choice yearly; the field moves on even when ciphers do not.

Frequently asked questions

What is IDEA in simple terms?

It is a free block cipher published in 1991, built on 64-bit blocks and a 128-bit key, that mixes three different kinds of arithmetic, and it was the cipher of the original PGP encrypted email program.

Why did IDEA fade from use?

Because it was patented until around 2010, because its 64-bit blocks are too small for modern data volumes, and because AES arrived faster, better supported, and free from the start.

What are the three operations in IDEA?

Exclusive-or, addition modulo 65536, and multiplication modulo 65537. The three come from different algebraic groups that do not combine neatly, which is what makes the cipher hard to attack.

Is IDEA still secure?

For its intended use, yes, with the block-size caveat. No practical break exists, but the 64-bit blocks limit how much data one key should ever encrypt.

What is IDEA’s connection to PGP?

PGP, the program that popularised encrypted email, shipped IDEA as its cipher, and for a decade IDEA was the most widely used encryption in personal email anywhere in the world.

When should I use IDEA?

Only in legacy systems that already use it, or when reading old PGP archives. New projects should choose AES.

The bottom line

IDEA cipher explained in one line is this: the Swiss cipher from 1991 that guarded the first generation of encrypted email, and still holds its own three decades later.

It is the old lock that never broke, and the reason it is still running is that its designers mixed three kinds of arithmetic so thoroughly that no single attack could untangle them.

This article is general information about how IDEA works, not advice about choosing encryption for a particular system.

Latest articles

Scroll to Top