Magenta explained in plain terms means understanding the cipher that entered the contest to choose the world’s encryption standard and left in the first round, a design from Deutsche Telekom that was bold, unusual, and ultimately too slow. The central question is how a cipher from a major telecom company could fail so fast, and the answer is that Magenta was built for cleverness over speed, and the contest rewarded speed.
Magenta is a block cipher designed by a team at Deutsche Telekom and submitted to the United States National Institute of Standards and Technology in 1998 as a candidate for the Advanced Encryption Standard. It encrypts 128-bit blocks with keys of 128, 192, or 256 bits, runs for only six rounds, and it is built around an unusual F-function, which means it looks like no other cipher in the contest.
This article makes the case for Magenta, explains what it is, how it works, and where its ideas still earn their keep.
Key takeaways
- Magenta is a block cipher submitted to the AES contest in 1998.
- It encrypts 128-bit blocks with keys up to 256 bits.
- It runs only six rounds around an unusual F-function.
- It was eliminated in the first round, partly for slow speed.
- Later analysis found weaknesses in its structure.
What Magenta is
Magenta is a cipher that encrypts data in 128-bit blocks using a Feistel-like structure, passing the block through six rounds of mixing. Each round takes half the block, transforms it with the F-function, and mixes the result into the other half, and the halves swap places before the next round begins.
Its signature feature is the F-function itself. Magenta builds its round function from a small block cipher nested inside the main cipher, which means each round runs a miniature encryption of its own, and that nesting was meant to make the design strong with very few rounds.
The design was a reaction to the AES call for candidates. When the standards institute asked the world for a replacement for DES, Deutsche Telekom answered with a cipher that trusted a clever structure over many rounds, because six rounds of a strong function seemed enough, and that confidence is what made Magenta stand out.
It became one of the fifteen candidates in the contest, and it was eliminated in the first round in 1999. Reaching the contest at all was a mark of seriousness, because only fifteen designs from around the world were accepted, but the first cut kept only five, and Magenta was not among them.
Its most famous property is the name. Magenta is a vivid colour, a bold choice for a cipher, and the name has stuck through two decades of study, which is a reminder that cryptographers still enjoy a name with a picture behind it.
Our guide to Serpent explains another AES candidate, and our guide to Twofish explains the candidate that reached the final five.
How Magenta 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 F-function, which takes one half of the block and transforms it. The half passes through the nested cipher, which mixes it with the round subkey and scrambles it through several small steps, and the output is mixed into the other half, which is how the confusion spreads from one half to the other.
The nested cipher is what makes the round work as a whole. Magenta treats its F-function as a small cipher in its own right, with its own rounds and its own mixing, and because every byte of the half passes through that nested design, a small change in the input spreads quickly through the whole block.
The swap step spreads the effect further. After the F-function, the halves exchange places, so that the half just transformed becomes the input to the next round, and because the swap happens 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 half is combined with the round subkey before the F-function runs, 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 inverse of each step 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.

Comparing Magenta with other AES candidates
Magenta is one of several ciphers that entered the AES contest, and each was built with a different emphasis. Rijndael is the design that won and became AES, Serpent is a conservative design with 32 rounds, and Magenta is the bold one that trusted six rounds of a nested cipher, while each approach trades something for something else.
The table below sets out the main contrasts between the leading approaches.
| Aspect | Magenta | Rijndael | Serpent |
|---|---|---|---|
| Block size | 128 bits | 128 bits | 128 bits |
| Key size | 128 to 256 bits | 128 to 256 bits | 128 to 256 bits |
| Rounds | 6 | 10 to 14 | 32 |
| Structure | Nested F-function | Substitution-permutation | Substitution-permutation |
| Best for | Historical interest | General use | Conservative use |
The practical result is that Magenta is the right choice for historical interest, Rijndael suits general use everywhere else, and Serpent fits conservative use instead.
Where Magenta is used
Research uses it as a case study in contest design. Cryptographers still cite Magenta when they discuss what happens when a cipher trusts too few rounds, because it is the clearest example of a bold structure that did not survive review, and that lesson shapes how new ciphers are judged today.
Teaching uses it to show how the AES contest worked. Magenta 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 contest and the design ideas that shaped it.
Benchmarks use it to measure unusual designs. When someone builds a new library or a new piece of hardware, Magenta is one of the designs they test, because its nested rounds exercise different parts of a processor than flat ciphers do, and a platform that runs Magenta well is likely to run most ciphers well.
Standards history uses it to mark the AES contest. Magenta was part of the global effort that chose the world’s encryption standard, and it represents the boldest path that contest explored, which means historians of the field return to it whenever they ask what the standard might have looked like.
Cryptanalysis uses it as a warning about structure. Later analysis of Magenta showed weaknesses in its nested design, which means the cipher is studied as an example of how a clever idea can hide a flaw, and that warning is why new designs are tested so hard today.
Strengths and limits
The greatest strength of Magenta is its ambition. A cipher that tries to do in six rounds what others do in thirty is a bold idea, and that boldness is real, visible in the nested design and confirmed by the designers’ own analysis of the F-function.
It is also a strength that the design is easy to understand. A cipher built from a nested function and a simple Feistel swap is easy to implement, easy to analyse, and easy to teach, and that simplicity is worth more than cleverness in a field where hidden complexity usually means hidden flaws.
The limits are real, though, and the biggest is the round count. Six rounds gave attackers too little work to do, and later analysis showed weaknesses that more rounds might have hidden, which is why the cipher is studied as history rather than used for new systems.
Magenta checklist
- Use Magenta for study and history, not for new systems.
- Remember it ran only six rounds.
- Study its F-function to understand nested design.
- Compare it with Rijndael to see the round-count trade-off.
- Note its 128-bit block 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 Magenta in simple terms?
It is a block cipher from Deutsche Telekom that encrypts 128-bit blocks over six rounds, built around a nested cipher function, and entered in the AES contest of 1998.
Why did Magenta lose the AES contest?
Because it was slow in software and its six rounds gave reviewers too little margin, so it was eliminated in the first round while faster, more conservative designs advanced.
What is the F-function?
It is Magenta’s round function, a small cipher nested inside the main cipher, which mixes each half of the block with the round subkey before the halves swap.
Is Magenta still secure?
No, later analysis found weaknesses in its structure, so it is studied as history and as a teaching example rather than used for new systems.
Who designed Magenta?
A team at Deutsche Telekom, who submitted it to the standards institute in 1998 as Germany’s entry in the contest to replace DES.
When should I use Magenta?
When you study the AES contest, when you teach nested cipher design, or when you want a cipher bold enough to have failed in an interesting way.
The bottom line
Magenta explained in one line is this: the cipher that bet on cleverness, a six-round design from Deutsche Telekom that faded fast in the contest to choose AES.
It is proof that boldness needs margin, and the reason it still matters is that every cipher designed since has been judged partly by the lesson Magenta taught.
This article is general information about how Magenta works, not advice about choosing encryption for a particular device or system.







