ArticleslgStudy

computer science

MOSQUITO

MOSQUITO is a computer 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 MOSQUITO rather than just read about it. In short: In cryptography, MOSQUITO was a stream cipher algorithm designed by Joan Daemen and Paris Kitsos. They submitted it to the eSTREAM project, which was a part of eCRYPT.

Key takeaways

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

Reference excerpt

In cryptography, MOSQUITO was a stream cipher algorithm designed by Joan Daemen and Paris Kitsos. They submitted it to the eSTREAM project, which was a part of eCRYPT. While presenting it in a document published in 2005, they explained some of their design intentions: Self-synchronizing stream encryption can be performed by using a block cipher in CFB mode. However, for single-bit self-synchronizing stream encryption, this is very inefficient. Therefore we believe that it would be useful to design a dedicated self-synchronizing stream cipher that is efficient in hardware. It was subsequently broken by Antoine Joux and Frédéric Muller in 2006, who had this to say in their conference paper: All the dedicated Self-Synchronizing Stream Ciphers (SSSC) of the KNOT-MOSQUITO family are subject to differential chosen ciphertext attacks. Our results, combined with previous results on HBB, KNOT and SSS show that it is extremely difficult to design a SSSC resistant against chosen-ciphertext attacks.A tweaked version named MOUSTIQUE was proposed which made it to Phase 3 of the eSTREAM evaluation process as the only self-synchronizing cipher remaining, where it was noted that "in reaching the third phase of eSTREAM all the algorithms in this book have made a significant advance in the development of stream ciphers. However, MOUSTIQUE was subsequently broken by Käsper et al., leaving the design of a secure and efficient self-synchronizing stream cipher as an open research problem.

Specifications The MOSQUITO cipher has eight registers of varying lengths, let's call the register CCSR -a𝒽0𝒾, the first register -a𝒽1𝒾, second -a𝒽2𝒾 and so on up to the seventh register -a𝒽7𝒾. We will designate the i-th position of register j as follows: ai𝒽j𝒾. Register lengths: CCSR — 128 bits;

a𝒽1𝒾 — a𝒽5𝒾 53 bits; a𝒽6𝒾 — 12 bits; a𝒽7𝒾 — 3 bits. The essence of the cipher operation is to calculate, for each clock cycle, the bits of any of the registers (except CCSR) based on some combination of bits of the previous register. The CCSR register works as a shift register: the register elements are shifted, and a bit of the encrypted text (from the cipher output) is written to the zero position of the CCSR register. Let us denote by Gij the rule by which the bit in the i-th position in register j is calculated. Then:

G4i mod 531=a128−i𝒽0𝒾+a18+i𝒽0𝒾+a113−i𝒽0𝒾(a1+i𝒽0𝒾+1)+1, где 0⩽i<53; G4i mod 53j=ai𝒽j−1𝒾+a3+i𝒽j−1𝒾+a1+i𝒽j−1𝒾(a2+i𝒽j−1𝒾+1)+1, где 0⩽i<53 и 2⩽j⩽5, if the subscript of any element on the right side of the equality becomes greater than 53, then this element is replaced by 0; Gi6=a4i𝒽5𝒾+a3+4i𝒽5𝒾+a1+4i𝒽5𝒾+a2+4i𝒽5𝒾, где 0⩽i<12; Gi7=a4i𝒽6𝒾+a3+4i𝒽6𝒾+a1+4i𝒽6𝒾(a2+4i𝒽6𝒾+1)+1, где 0⩽i<3; and finally the keystream bit z=a0𝒽7𝒾+a1𝒽7𝒾+a2𝒽7𝒾. It is worth noting that the calculation of register bits is performed using combinational logic, and the shift, naturally, using register logic, which means that in order to prevent incorrect operation of the pipeline, when the bits from the register do not have time to be processed by combinational logic, it is necessary that the function Gij, implementing the calculations was relatively simple.

References

Worked examples

Example 1 — a first encounter with MOSQUITO

Start with the simplest possible case. Write down what MOSQUITO claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer 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 MOSQUITO 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 MOSQUITO 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 MOSQUITO

In research
MOSQUITO appears in computer 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 MOSQUITO 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
MOSQUITO is common in secondary-school and first-year university syllabi. It links to neighbouring topics Cryptographic algorithms, Cryptography stubs, so understanding it makes those chapters shorter.
In everyday life
Look for MOSQUITO 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 “MOSQUITO” →

How to study MOSQUITO in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what MOSQUITO 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 MOSQUITO out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is MOSQUITO in simple terms?

In cryptography, MOSQUITO was a stream cipher algorithm designed by Joan Daemen and Paris Kitsos. They submitted it to the eSTREAM project, which was a part of eCRYPT.

Why does MOSQUITO matter?

Because it connects several computer 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 MOSQUITO?

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 MOSQUITO.

Tags

  • Cryptographic algorithms
  • Cryptography stubs

Keep exploring