Lucifer Explained: The IBM Cipher That Became DES

Lucifer explained in plain terms means understanding the cipher that started modern encryption, a design from IBM in the early 1970s that became the Data Encryption Standard. The central question is how a research project inside one company became the encryption standard for the whole world, and the answer is that Lucifer was strong, practical, and ready at exactly the right moment.

Lucifer is a block cipher designed by Horst Feistel and his team at IBM, and submitted to the United States National Bureau of Standards in 1974. It encrypts 64-bit blocks with a 128-bit key in its original form, runs for 16 rounds, and it is built as a Feistel network, the structure that splits the block in half and mixes one half into the other, round after round.

This article explains what Lucifer is, how it works, and where its ideas still turn up today.

Key takeaways

  • Lucifer is a block cipher designed by Feistel’s team at IBM in the early 1970s.
  • It encrypts 64-bit blocks over 16 rounds in a Feistel network.
  • It was submitted to the National Bureau of Standards in 1974.
  • It became the Data Encryption Standard, known as DES, in 1977.
  • Its Feistel structure shaped almost every cipher that followed it.

What Lucifer is

Lucifer is a cipher that encrypts data in 64-bit blocks using a Feistel network, passing the block through sixteen rounds of substitution and permutation. Each round takes half the block, transforms it with a substitution box and a permutation, and mixes the result into the other half, and the halves swap places before the next round begins.

Its signature feature is the Feistel structure itself. Horst Feistel had spent years arguing that a cipher could be both strong and simple if it reused one round function many times, and Lucifer was the proof, because the same round ran sixteen times and produced a cipher that withstood years of public analysis.

The design was a reaction to a real problem in the early 1970s. Banks and businesses were moving records onto computers, and they needed a standard way to protect data, but no public cipher existed that anyone trusted, so IBM offered Lucifer as an answer, and the government saw a design it could standardise.

It became the basis of DES after the National Bureau of Standards asked IBM to adapt it. The key shrank from 128 bits to 56 bits, the block stayed at 64 bits, and the S-boxes were changed, which started a debate about the shorter key that has never fully gone away, and that debate shaped how the public thinks about trust in standards.

Its most famous property is the name. Lucifer was named for the morning star, a name its designers chose with a wink, and it has stuck through five decades of study, which is a reminder that cryptographers still enjoy a name with a story behind it.

Our guide to AES encryption explains the standard that replaced DES, and our guide to Crypton explains another cipher from the contest that chose AES.

How Lucifer works

Everything starts with the key schedule, which expands the master key into the subkeys each round needs. The key is stretched through a series of operations that produce a different subkey for every round, and the schedule is designed so that the subkeys look random even when the master key is simple, which stops an attacker from working backwards from the subkeys to the key.

Each round begins with the round function, which takes the right half of the block and transforms it. The half passes through substitution boxes that replace small groups of bits, then through a permutation that spreads the changes around, and the result is XORed with the left half, which is how the mixing spreads from one half to the other.

The substitution boxes are what make the round work as a whole. Lucifer used two S-boxes, each mapping four bits to four bits, and because every bit of the right half passes through a box, a small change in the input spreads quickly through the whole block, and that confusion is the heart of the design.

The permutation is what spreads the effect further. After substitution, the bits are rearranged by a fixed pattern, so that bits changed by one S-box move to positions fed by different S-boxes in the next round, and because the permutation is applied in every round, a single changed bit spreads across the whole block within a few rounds.

The key addition step mixes the subkey into the round. The right half is XORed with the round subkey before substitution, which means the key influences the data in every round, and because the subkeys change from round to round, the cipher’s behaviour evolves as the rounds progress rather than repeating itself.

Decryption runs the same rounds in reverse, starting with the final subkey and working backwards through the rounds. The receiver applies the same round function in the opposite order, and the plaintext comes back out, which means the same design encrypts and decrypts, and that symmetry is the great advantage of the Feistel structure.

A dark office desk with a laptop showing a glowing green cipher diagram, a brass key and a notebook beside it
A dark office desk with a laptop showing a glowing green cipher diagram, a brass key and a notebook beside it, shows how Lucifer works: two halves take turns through substitution and mixing, sixteen rounds deep, until the block is transformed.

Comparing Lucifer with other early ciphers

Lucifer is one of several ciphers from the early era of standardisation, and each was built with a different emphasis. DES is the standardised version of Lucifer with a shorter key, AES is the modern standard with a substitution-permutation design, and Lucifer is the original that proved the Feistel idea worked, while each approach trades something for something else.

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

Aspect Lucifer DES AES
Block size 64 bits 64 bits 128 bits
Key size 128 bits 56 bits 128 to 256 bits
Rounds 16 16 10 to 14
Structure Feistel Feistel Substitution-permutation
Best for Historical interest Legacy systems General use

The practical result is that Lucifer is the right choice for historical interest, DES suits legacy systems that still run it, and AES fits general use everywhere else.

Where Lucifer is used

Research uses it as a case study in Feistel design. Cryptographers still cite Lucifer when they discuss how the Feistel network was born, because it is the clearest example of the idea in its original form, and that lesson shapes how new ciphers are judged today.

Teaching uses it to show how standards are made. Lucifer is clean enough to explain in a lecture and well documented enough to implement in an afternoon, which makes it a favourite example in cryptography courses that cover the history of DES and the design ideas that shaped it.

Benchmarks use it to measure Feistel designs. When someone builds a new library or a new piece of hardware, Lucifer is one of the designs they test, because its sixteen rounds exercise different parts of a processor than heavier ciphers do, and a platform that runs Lucifer well is likely to run most ciphers well.

Standards history uses it to mark the beginning of public cryptography. Lucifer was the first cipher strong enough to become a national standard, and it represents the moment when encryption moved out of government labs and into ordinary business, which means historians of the field return to it whenever they ask how the modern era began.

Museums and archives use it to tell the story of DES. Exhibitions about computing history show Lucifer as the parent of the standard that protected the world’s bank transfers for twenty years, and that story still surprises visitors who assume encryption is a recent invention.

Strengths and limits

The greatest strength of Lucifer is its structure. A cipher built as a Feistel network encrypts and decrypts with the same code, which matters on hardware where every byte counts, and that economy is worth more than cleverness in a field where simplicity is a security feature.

It is also a strength that the design survived decades of analysis. Lucifer was studied by the best cryptanalysts of its era and by every generation since, and the full 16-round version has no practical attack published against it, which is why the design earned respect even from its critics.

The limits are real, though, and the biggest is the 64-bit block. Short blocks mean that after enough data is encrypted with one key, patterns can start to leak, so Lucifer suits history and study, and a system that moves large volumes should choose a cipher with a 128-bit block instead.

Lucifer checklist

  • Use Lucifer for study and history, not for new systems.
  • Remember it is the parent design of DES.
  • Study its rounds to understand Feistel design.
  • Compare it with DES to see the key-size trade-off.
  • Note its 128-bit key and 16 rounds when benchmarking.
  • Test against published test vectors before trusting any implementation.
  • Keep keys random and protect them as carefully as with any cipher.
  • Use a proper mode of operation, never raw block encryption.
  • Choose AES for any system that needs real protection today.

Frequently asked questions

What is Lucifer in simple terms?

It is a block cipher from IBM that encrypts 64-bit blocks with a 128-bit key over 16 rounds, built as a Feistel network, and it became the basis of DES.

Why is it named Lucifer?

After the morning star, a name chosen by its designers with a wink, and the name stuck even after the cipher became the serious business of a national standard.

How is Lucifer different from DES?

Both are Feistel ciphers with 16 rounds, but Lucifer used a 128-bit key, while DES was standardised with a 56-bit key and different S-boxes.

Is Lucifer still secure?

No practical attack against the full 16-round cipher has been published, but its 64-bit block is short by modern standards, so it is studied as history rather than used for new systems.

Who designed Lucifer?

Horst Feistel and his team at IBM, who had spent years developing the Feistel network idea before building Lucifer as its fullest expression.

When should I use Lucifer?

When you study Feistel design, when you teach the history of DES, or when you want a cipher old enough to have shaped everything that came after it.

The bottom line

Lucifer explained in one line is this: the cipher that started it all, a 16-round Feistel design from IBM that became the world’s first encryption standard.

It is proof that a good structure outlives its own standard, and the reason it still matters is that every Feistel cipher designed since has been judged partly by the lesson Lucifer taught.

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

Latest articles

Scroll to Top