ArticleslgStudy

science

Lai–Massey scheme

Lai–Massey scheme is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Lai–Massey scheme rather than just read about it. In short: The Lai–Massey scheme is a cryptographic structure used in the design of block ciphers, an alternative to the Feistel network for converting a non-invertible keyed round function to an invertible keyed cipher. It is used in IDEA and IDEA NXT.

Lai–Massey scheme — main illustration
Lai–Massey scheme — illustration

Key takeaways

  • Lai–Massey scheme belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Lai–Massey scheme to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Lai–Massey scheme from memory before moving on to harder problems.

Reference excerpt

The Lai–Massey scheme is a cryptographic structure used in the design of block ciphers, an alternative to the Feistel network for converting a non-invertible keyed round function to an invertible keyed cipher. It is used in IDEA and IDEA NXT. The scheme was originally introduced by Xuejia Lai with the assistance of James L. Massey, hence the scheme's name, Lai-Massey.

Design

The Lai-Massey Scheme is similar to a Feistel network in design, but in addition to using a non-invertible round function whose input and output is half the data block size, each round uses a full-width invertible half-round function. Either, or preferably both of the functions may take a key input as well. Initially, the inputs are passed through the half-round function. In each round, the difference between the inputs is passed to the round function along with a sub-key, and the result from the round function is then added to each input. The inputs are then passed through the half-round function. This is then repeated a fixed number of times, and the final output is the encrypted data. Due to its design, it has an advantage over a Substitution-permutation network since the round-function does not need to be inverted - just the half-round - enabling it to be more easily inverted, and enabling the round-function to be arbitrarily complex. The encryption and decryption processes are fairly similar, decryption instead requiring a reversal of the key schedule, an inverted half-round function, and that the round function's output be subtracted instead of added.

Construction details Let F {\displaystyle \mathrm {F} } be the round function, and H {\displaystyle \mathrm {H} } a half-round function, and let K 0 , K 1 , … , K n {\displaystyle K_{0},K_{1},\ldots ,K_{n}} be the sub-keys for the rounds 0 , 1 , … , n {\displaystyle 0,1,\ldots ,n} respectively. Then the basic operation is as follows: Split the plaintext block into two equal pieces, ( L 0 {\displaystyle L_{0}} , R 0 {\displaystyle R_{0}} ). For each round i = 0 , 1 , … , n {\displaystyle i=0,1,\dots ,n} , compute

( L i + 1 ′ , R i + 1 ′ ) = H ( L i ′ + T i , R i ′ + T i ) , {\displaystyle (L_{i+1}',R_{i+1}')=\mathrm {H} (L_{i}'+T_{i},R_{i}'+T_{i}),}

where T i = F ( L i ′ − R i ′ , K i ) {\displaystyle T_{i}=\mathrm {F} (L_{i}'-R_{i}',K_{i})} , and ( L 0 ′ , R 0 ′ ) = H ( L 0 , R 0 ) {\displaystyle (L_{0}',R_{0}')=\mathrm {H} (L_{0},R_{0})} . Then the ciphertext is ( L n + 1 , R n + 1 ) = ( L n + 1 ′ , R n + 1 ′ ) {\displaystyle (L_{n+1},R_{n+1})=(L_{n+1}',R_{n+1}')} . Decryption of a ciphertext ( L n + 1 , R n + 1 ) {\displaystyle (L_{n+1},R_{n+1})} is accomplished by computing for i = n , n − 1 , … , 0 {\displaystyle i=n,n-1,\ldots ,0}

( L i ′ , R i ′ ) = H − 1 ( L i + 1 ′ − T i , R i + 1 ′ − T i ) , {\displaystyle (L_{i}',R_{i}')=\mathrm {H} ^{-1}(L_{i+1}'-T_{i},R_{i+1}'-T_{i}),}

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Lai–Massey scheme

Start with the simplest possible case. Write down what Lai–Massey scheme claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Lai–Massey scheme before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Lai–Massey scheme ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Lai–Massey scheme

In research
Lai–Massey scheme appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Lai–Massey scheme in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Lai–Massey scheme is common in secondary-school and first-year university syllabi. It links to neighbouring topics Block ciphers, so understanding it makes those chapters shorter.
In everyday life
Look for Lai–Massey scheme outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Lai–Massey scheme” →

Affiliate

Preply — study more efficiently by working with a personal tutor. 50% off.

How to study Lai–Massey scheme in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Lai–Massey scheme means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Lai–Massey scheme out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Lai–Massey scheme in simple terms?

The Lai–Massey scheme is a cryptographic structure used in the design of block ciphers, an alternative to the Feistel network for converting a non-invertible keyed round function to an invertible keyed cipher. It is used in IDEA and IDEA NXT.

Why does Lai–Massey scheme matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Lai–Massey scheme?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Lai–Massey scheme.

Tags

  • Block ciphers

Keep exploring