MISTY1 Explained: 6 Things to Know About Matsui’s Cipher

MISTY1 explained in plain terms means understanding a cipher designed to be proven secure, not merely hoped secure, a Japanese design whose inventor set out to build provable safety into every round. The central question is whether a cipher can really be proven safe against whole classes of attack, and the answer is that MISTY1 came closer than any cipher before it.

MISTY1 is a block cipher designed by Mitsuru Matsui at Mitsubishi Electric in Japan and published in 1995. It encrypts 64-bit blocks with a 128-bit key, runs for 8 rounds, and it is built from nested functions that let its designer prove resistance to differential and linear cryptanalysis, the two most powerful attacks of its day.

This article gives you six things to know about MISTY1, explains what it is, how it works, and where it already runs.

Key takeaways

  • MISTY1 is a block cipher designed by Mitsuru Matsui in 1995.
  • It encrypts 64-bit blocks with a 128-bit key over 8 rounds.
  • It was designed for provable resistance to known attacks.
  • It is the parent cipher of KASUMI, used in 3G phones.
  • It is recommended by Japan’s CRYPTREC standards body.

What MISTY1 is

MISTY1 is a cipher that encrypts data in 64-bit blocks using a Feistel structure, splitting each block into two 32-bit halves and processing them in turns. In each round, one half is transformed by a function built from smaller functions nested inside each other, combined with part of the key, and the halves swap places for the next round, and that nesting is the design’s defining idea.

Its signature feature is the nested structure itself. The round function, called FO, contains three layers of a smaller function called FI, and FI in turn contains substitution boxes of 7 and 9 bits, which means the cipher’s strength rests on small, well-understood pieces arranged in layers, and each layer can be analysed on its own before the whole is judged.

The design was a reaction to the way ciphers were usually built, by trial and error. Matsui wanted a cipher whose security could be argued mathematically rather than merely tested, so he designed MISTY1 around the idea of provable security, choosing structures whose resistance to differential and linear attacks could be bounded with proofs, and that ambition set it apart from every cipher of its generation.

It became one of the best-known ciphers in Japan and then around the world. MISTY1 was recommended by CRYPTREC, the Japanese government’s cryptography evaluation project, and it was chosen as the basis for KASUMI, the cipher that guards 3G mobile networks, which gave the design a deployment far larger than its inventor could have imagined.

Its most famous property is the name. MISTY1 is named for the mist, a light and fitting name for a cipher built to be hard to see through, and the name has stuck through three decades of use, which is a reminder that cryptographers, for all their mathematics, still enjoy a name that says what it means.

Our guide to PRESENT explains another tiny block cipher built for small hardware, and our guide to Simon explains the NSA cipher that shares its niche.

How MISTY1 works

Everything starts with the key schedule, which expands the 128-bit master key into the subkeys each round needs. The key is split into eight 16-bit words, and the schedule derives extended keys by XORing those words with fixed constants, which produces a different subkey for every round without storing a large table, and that compactness matters on small devices.

Each round transforms one half of the block with the FO function, the main round function. The FO function passes the half through three layers of the FI function, mixing it with subkeys at each layer, and the result is combined with the other half, which means every round of MISTY1 contains a miniature cipher inside it, and that nesting is what lets the designer prove things about the whole.

The FI function is the smallest building block, a 16-bit function built from substitution boxes. The FI function splits its input into two halves, passes one through a 9-bit S-box and the other through a 7-bit S-box, and mixes them together with XOR, and because the FI function appears inside the FO function, which appears inside every round, the cipher’s strength rests on this small, well-studied piece.

The FL function adds key dependence to every round. Before and after the FO function, the data passes through the FL function, which rotates and ANDs the word with a subkey, and that extra mixing means the round function behaves differently under different keys, which stops an attacker from analysing the cipher without knowing the key.

Decryption runs the same rounds in reverse, starting with the final subkeys and working backwards through the rounds. The receiver applies the subkeys in the opposite order and inverts the FO and FL functions, and the plaintext comes back out, which means the same small code can encrypt and decrypt without a second implementation.

The security of the design rests on the nested structure and the proofs behind it. Matsui showed that the differential and linear characteristics of the cipher could be bounded, which means the best attacks of the day could be proven to need unrealistic amounts of data, and that proof-based approach is why MISTY1 is still respected decades later.

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 MISTY1 works: two halves take turns through nested functions, eight rounds deep, until the block is transformed.

Comparing MISTY1 with other proven ciphers

MISTY1 is one of several ciphers built for small devices, and each was built with a different emphasis. KASUMI is its own child, adapted for 3G phones with a new key schedule, Camellia is the later Japanese cipher with 128-bit blocks and a modern design, and MISTY1 is the original that proved a cipher could be designed for provable security, while each approach trades something for something else.

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

Aspect MISTY1 KASUMI Camellia
Block size 64 bits 64 bits 128 bits
Key size 128 bits 128 bits 128 to 256 bits
Rounds 8 8 18 or 24
Structure Feistel Feistel Feistel
Best for Proven security 3G phones General use

The practical result is that MISTY1 is the right choice for proven security, KASUMI suits 3G phones, and Camellia fits general use instead.

Where MISTY1 is used

Japanese government systems use it for official data. MISTY1 is recommended by CRYPTREC, the project that evaluates cryptography for the Japanese government, which means government agencies that handle sensitive information can choose it with a clear basis in national standards and policy.

3G mobile networks use it through KASUMI. MISTY1 is the parent cipher of KASUMI, the cipher that guards 3G phone calls and data, which means the design’s ideas protect billions of conversations even where the cipher itself is not named, and that indirect deployment is larger than most ciphers ever achieve directly.

Smart cards use it where proven security matters. A smart card that must prove its cryptography is trustworthy benefits from a cipher whose resistance can be argued mathematically, and MISTY1’s provable design makes it a natural fit for identity cards, payment cards, and other systems where trust must be earned in public.

Software libraries support it for completeness. Cryptographic libraries that aim to support every cipher include MISTY1, because developers working on Japanese systems need it, and because a library without it is incomplete for that audience, which keeps MISTY1 in the toolkits that matter.

Teaching uses it to show how provable security works. MISTY1 is the classic example of a cipher designed with proofs in mind, and students learning about differential and linear cryptanalysis study it to see how a designer can bound an attacker’s chances before the cipher is ever deployed.

Strengths and limits

The greatest strength of MISTY1 is its provable security. A cipher whose resistance to the best-known attacks can be bounded mathematically gives its users a confidence that trial-and-error designs cannot, and that proof-based approach is why the cipher earned its place in Japanese national standards.

It is also a strength that the design is compact and efficient. MISTY1 fits in little code and runs fast on small processors, which is exactly what smart cards and phones need, and that efficiency is why the mobile industry chose its child, KASUMI, rather than designing something new from scratch.

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 MISTY1 suits small devices and short sessions, and a system that moves large volumes should choose a cipher with a 128-bit block instead.

MISTY1 checklist

  • Use MISTY1 where proven security is required.
  • Always use the full 128-bit key.
  • Use a proper mode of operation, never raw block encryption.
  • Use a fresh initialisation vector for every message.
  • Remember MISTY1 encrypts but does not authenticate on its own.
  • Add a message authentication code if tampering is a concern.
  • Test against published test vectors before shipping any implementation.
  • Keep keys random and protect them as carefully as with any cipher.
  • Compare with Camellia for systems that need 128-bit blocks.

Frequently asked questions

What is MISTY1 in simple terms?

It is a block cipher from Japan that encrypts 64-bit blocks with a 128-bit key over 8 rounds, built from nested functions so that its security can be proven against known attacks.

What does MISTY1 mean?

It is named for the mist, a light name for a cipher built to be hard to see through, and the 1 marks it as the first cipher in the MISTY family.

How is MISTY1 different from KASUMI?

Both use the same nested Feistel design, but KASUMI adds the FL function and a new key schedule adapted for mobile networks, while MISTY1 is the general-purpose original.

Is MISTY1 still secure?

Yes, no practical attack against the full 8-round cipher has been published, and its provable resistance to differential and linear attacks still stands.

What is provable security?

It is the practice of proving, with mathematics, that an attack would need more data or time than any real attacker could muster, rather than merely testing the cipher and hoping.

When should I use MISTY1?

When you need provable security, when Japanese standards apply, or when you study how ciphers can be designed with proofs rather than trial and error.

The bottom line

MISTY1 explained in one line is this: the cipher that set out to prove itself safe, a nested Japanese design that turned provable security from an idea into a standard.

It is proof that mathematics can be a design tool, and the reason it still matters is that its child guards every 3G phone, and its approach still shapes how new ciphers are built.

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

Latest articles

Scroll to Top