Questions tagged [alternating-step]

An alternating step generator is a cryptographic pseudorandom number generator intended to be used in a stream cipher.

An alternating step generator is a cryptographic pseudorandom number generator intended to be used in a stream cipher.

A typical alternating step generator can be constructed from three linear feedback shift registers, by using the output of one LFSR to clock one of the two other LFSRs independently. The result is that there's no usual LFSR period as would be generated by a single LFSR. Such an alternating step construction gains from a higher linear complexity and a potentially longer period. Yet, it's security is relative because the size of the shortest of the three LFSRs strongly influences the potential success of a reduced complexity attack. (see “Reduced Complexity Attacks on the Alternating Step Generator”)

6 questions
12
votes
0 answers

Do trinomials weaken the Alternating Step Generator?

The Alternating Step Generator was proposed by Christoph G. Günther: Alternating step generators controlled by de Bruijn sequences, in proceedings of Eurocrypt 1987. It's perhaps the conceptually simplest CSPRNG producing bits at a constant rate.…
fgrieu
  • 149,326
  • 13
  • 324
  • 622
6
votes
2 answers

Proof that Alternating Step Generator and modifed ASG' have equivalent security?

The Alternating Step Generator (ASG) is a PRNG combining 3 LFSRs. Output of the ASG is the XOR of the output of two clock-gated LFSRs. At each step, a single one of these LFSRs is clocked, according to the output of the control LFSR. The best…
fgrieu
  • 149,326
  • 13
  • 324
  • 622
5
votes
4 answers

Why isn't the alternating step generator used more often?

According to the Wikipedia entry for the Alternating Step pseudorandom number generator, there is no public cryptanalysis for this device since it was invented back in 1987 by C.G. Gunther. I have several questions about this: If it hasn't been…
4
votes
1 answer

Convert m-Sequence into a de Bruijn Sequence

In his paper Alternating Step Generator Controlled by de Bruijn Sequence, C.G. Günther states on page three that a de Bruijn sequence (..) can easily be obtained from an m-sequence (maximal length LFSR sequence) Unfortunately he gives no method…
William Hird
  • 501
  • 1
  • 5
  • 18
0
votes
1 answer

What does "Clocked" mean in alternating step generators

In the wiki article, it says "An ASG comprises three linear-feedback shift registers, which we will call LFSR0, LFSR1, and LFSR2 for convenience. The output of one of the registers decides which of the other two is to be used; for instance, if LFSR2…
0
votes
1 answer

Synchronous Stream Cipher Problem

Hello I am facing a problem trying to solve this question in the picture. Does anyone know how to produce the mentioned 32-bits of the key stream? The plaintext in this case is 0001 0001 0000 0000 1001 0111 0110 1001. The LFSR is also included as a…
AceUK
  • 11
  • 2