encyclopegia.org

E0 (cipher)

E0 is a stream cipher used in the Bluetooth protocol.[src] It generates a sequence of pseudorandom numbers and combines it with the data using the XOR operator.[src] The key length may vary, but is generally 128 bits.[src]

E0 is a stream cipher used in the Bluetooth protocol.[src] It generates a sequence of pseudorandom numbers and combines it with the data using the XOR operator.[src] The key length may vary, but is generally 128 bits.[src] ==Description== A E0 generates a bit using four shift registers of differing lengths (25, 31, 33, 39 bits) and two internal states, each 2 bits long.[src] At each clock tick, the registers are shifted and the two states are updated with the current state, the previous state and the values in the shift registers.[src] Four bits are then extracted from the shift registers and added together.[src] The algorithm XORs that sum with the value in the 2-bit register.[src] The first bit of the result is output for the encoding.[src] E0 is divided in three parts: Payload key generation Keystream generation Encoding The setup of the initial state in Bluetooth uses the same structure as the random bit stream generator.[src] We are thus dealing with two combined E0 algorithms.[src] An initial 132-bit [=e is produced at the first stage using four inputs (the 128-bit key, the Bluetooth address on 48 bits and the 26-bit master counter).[src] The output is then processed by a polynomial operation and the resulting key goes through the second stage, which generates the stream used for encoding.[src] The key has a variable length, but is always a multiple of 2 (between 8 and 128 bits).[src] 128 bit keys are generally used.[src] These are stored into the second stage's shift registers.[src] 200 pseudorandom bits are then produced by 200 clock ticks, and the last 128 bits are inserted into the shift registers.[src] It is the stream generator's initial state.[src] ==Cryptanalysis== Several attacks and attempts at cryptanalysis of E0 and the Bluetooth protocol have been made, and a number of vulnerabilities have been found.[src] In 1999, Miia Hermelin and Kaisa Nyberg showed that E0 could be broken in 2 64 operations (instead of 2 128 ), if 2 64 bits of output are known.[src] This type of attack was subsequently improved by Kishan Chand Gupta and Palash Sarkar.[src] Scott Fluhrer, a Cisco Systems employee, found a theoretical attack with a 2 80 operations precalculation and a key search complexity of about 2 65 operations.[src] He deduced that the maximal security of E0 is equivalent to that provided by 65-bit keys, and that longer keys do not improve security.[src] Fluhrer's attack is an improvement upon earlier work by Golic, Bagini and Morgari, who devised a 2 70 operations attack on E0.[src] In 2000, the Finn Juha Vainio showed problems related to misuse of E0 and more generally, possible vulnerabilities in Bluetooth.[src] In 2004, Yi Lu and Serge Vaudenay published a statistical attack requiring the 24 first bits of 2 35 Bluetooth frames (a frame is 2745 bits long).[src] The final complexity to retrieve the key is about 2 40 operations.[src] The attack was improved to 2 37 operations for precomputation and 2 39 for the actual key search.[src] In 2005, Lu, Meier and Vaudenay published a cryptanalysis of E0 based on a conditional correlation attack.[src] Their best result required the first 24 bits of 2 23.8 frames and 2 38 computations to recover the key.[src] The authors assert that "this is clearly the fastest and only practical known-plaintext attack on Bluetooth encryption compare with all existing attacks".[src] ==See also== A5/1 RC4 ==References== ==External links== Slides.[src]

34 sentences · 34 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"E0 (cipher)." encyclopegia.org, 2026, https://encyclopegia.org/wiki/e0-cipher. Accessed 25 November 2026.

Chicago

"E0 (cipher)." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/e0-cipher.

APA

encyclopegia.org. (2026). E0 (cipher). Retrieved November 25, 2026, from https://encyclopegia.org/wiki/e0-cipher

Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

Vigenère cipher

stub · references available

Bacon's cipher

stub · references available

Feistel cipher

stub · references available

Product cipher

stub · references available

cipher feedback mode

stub · references available

Cipher of Peter I

stub · references available

Cipher

stub · references available

Cloak and Cipher

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1373720802 · 0.5 · snapshot enwiki-001373720802

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.