International Data Encryption Algorithm

566pages on
this wiki
Add New Page
Talk0 Share

Template:Infobox block cipher

In cryptography, the International Data Encryption Algorithm (IDEA) is a block cipher designed by James Massey of ETH Zurich and Xuejia Lai and was first described in 1991. As a block cipher, it is also symmetric. The algorithm was intended as a replacement for the Data Encryption Standard. IDEA is a minor revision of an earlier cipher, PES (Proposed Encryption Standard); IDEA was originally called IPES (Improved PES).

The cipher was designed under a research contract with the Hasler Foundation, which became part of Ascom-Tech AG. The cipher is patented in a number of countries but is freely available for non-commercial use. The name "IDEA" is also a trademark. The patents will expire in 2010–2011. Today, IDEA is licensed in all the countries where it is patented by MediaCrypt.

IDEA was used in Pretty Good Privacy (PGP) v2.0, and was incorporated after the original cipher used in v1.0, BassOmatic, was found to be insecure.[1] IDEA is an optional algorithm in the OpenPGP standard.


IDEA operates on 64-bit blocks using a 128-bit key, and consists of a series of eight identical transformations (a round, see the illustration) and an output transformation (the half-round). The processes for encryption and decryption are similar. IDEA derives much of its security by interleaving operations from different groupsmodular addition and multiplication, and bitwise eXclusive OR (XOR) — which are algebraically "incompatible" in some sense. In more detail, these operators, which all deal with 16-bit quantities, are:

After the eight rounds comes a final "half round", the output transformation illustrated below:

File:International Data Encryption Algorithm InfoBox Diagram Output Trans.png

Key scheduleEdit

Each round uses six 16-bit sub-keys, while the half-round uses four, a total of 52 for 8.5 rounds. The first eight sub-keys are extracted directly from the key, with K1 from the first round being the lower sixteen bits; further groups of eight keys are created by rotating the main key left 25 bits between each group of eight. This means that it is rotated less than once per round, on average, for a total of six rotations.


The designers analysed IDEA to measure its strength against differential cryptanalysis and concluded that it is immune under certain assumptions. No successful linear or algebraic weaknesses have been reported. {{Infobox}}, the best attack which applies to all keys can break IDEA reduced to 6 rounds (the full IDEA cipher uses 8.5 rounds).[2] Note that a "break" is any attack which requires less than 2128 operations; the 6-round attack requires 264 known plaintexts and 2126.8 operations.

Bruce Schneier thought highly of IDEA in 1996, writing, "In my opinion, it is the best and most secure block algorithm available to the public at this time." (Applied Cryptography, 2nd ed.) However, by 1999 he was no longer recommending IDEA due to the availability of faster algorithms, some progress in its cryptanalysis, and the issue of patents.[3]

Weak keysEdit

The very simple key schedule makes IDEA subject to a class of weak keys; some keys containing a large number of 0 bits produce weak encryption.[4] These are of little concern in practice, being sufficiently rare that they are unnecessary to avoid explicitly when generating keys randomly. A simple fix was proposed: exclusive-ORing each subkey with a 16-bit constant, such as 0x0DAE.[4][5]

Larger classes of weak keys were found in 2002.[6]

This is still of negligible probability to be a concern to a randomly-chosen key, and some of the problems are fixed by the constant XOR proposed earlier, but the paper is not certain if all of them are. A more comprehensive redesign of the IDEA key schedule may be desirable.[6]


IDEA is patented in Austria, France, Germany, Italy, Netherlands, Spain, Sweden, Switzerland, United Kingdom, (Template:EPO Register), the United States (Template:US patent, issued May 25, 1993 and expiring January 7, 2012) and Japan (JP 3225440).

MediaCrypt is now also offering a successor to IDEA and focuses on its new cipher (official release on May 2005) IDEA NXT, which was previously called FOX.


  1. Template:Citation
  2. Template:Cite article
  3. Template:Cite web
  4. 4.0 4.1 Template:Citation
  5. Template:Citation
  6. 6.0 6.1 Template:Citation
  • Hüseyin Demirci, Erkan Türe, Ali Aydin Selçuk, A New Meet in the Middle Attack on The IDEA Block Cipher, 10th Annual Workshop on Selected Areas in Cryptography, 2004.
  • Xuejia Lai and James L. Massey, A Proposal for a New Block Encryption Standard, EUROCRYPT 1990, pp389–404
  • Xuejia Lai and James L. Massey and S. Murphy, Markov ciphers and differential cryptanalysis, Advances in Cryptology — Eurocrypt '91, Springer-Verlag (1992), pp17–38.

External linksEdit

Template:Link GA

bg:IDEA ca:IDEA (xifratge) cs:International Data Encryption Algorithm de:International Data Encryption Algorithm es:International Data Encryption Algorithm eu:Internacional Data Encryption Algorithm fr:International Data Encryption Algorithm ko:IDEA 알고리즘 it:International Data Encryption Algorithm nl:International Data Encryption Algorithm ja:International Data Encryption Algorithm pl:International Data Encryption Algorithm pt:International Data Encryption Algorithm ru:IDEA simple:International Data Encryption Algorithm sl:IDEA fi:IDEA tg:IDEA vi:IDEA

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.