Self-shrinking generator
A self-shrinking generator is a pseudorandom generator that is based on the shrinking generator concept.[src] Variants of the self-shrinking generator based on a linear-feedback shift register (LFSR) are studied for use in cryptography.[src]
A self-shrinking generator is a pseudorandom generator that is based on the shrinking generator concept.[src] Variants of the self-shrinking generator based on a linear-feedback shift register (LFSR) are studied for use in cryptography.[src] ==Algorithm== In difference to the shrinking generator, which uses a second feedback shift register to control the output of the first, the self-shrinking generator uses alternating output bits of a single register to control its final output.[src] The procedure for clocking this kind of generator is as follows: Clock the LFSR twice to obtain a pair of bits as LFSR output.[src] If the pair is 10 output a zero.[src] If the pair is 11 output a one.[src] Otherwise, output nothing.[src] Return to step one.[src] ==Example== This example will use the connection polynomial x 8 + x 4 + x 3 + x 2 + 1, and an initial register fill of 1 0 1 1 0 1 1 0.[src] Below table lists, for each iteration of the LFSR, its intermediate output before self-shrinking, as well as the final generator output.[src] The tap positions defined by the connection polynomial are marked with blue headings.[src] The state of the zeroth iteration represents the initial input.[src] At the end of four iterations, the following sequence of intermediate bits is produced: 0110.[src] The first pair of bits, 01, is discarded since it does not match either 10 or 11.[src] The second pair of bits, 10, matches the second step of the algorithm, so a zero is output.[src] More bits are created by continuing to clock the LFSR and shrinking its output as described above.[src] ==Cryptanalysis== As with the shrinking generator, the self-shrinking generator is vulnerable to timing attacks since the output rate varies depending on the state.[src] In their paper, Meier and Steffelbach prove that a LFSR-based self-shrinking generator with a connection polynomial of length L results in an output sequence period of at least 2 L/2 , and a linear complexity of at least 2 L/2-1 .[src] Furthermore, they show that any self-shrinking generator can be represented as a shrinking-generator.[src] The inverse is also true: Any shrinking generator can be implemented as a self-shrinking generator, although the resultant generator may not be of maximal length.[src] An attack presented by the authors requires about 2 0.7L steps, assuming a known connection polynomial.[src] A more advanced attack, discovered by Mihaljević, is able to break a register a hundred bits in length in around 2 57 steps, using an output sequence of only 4.9 × 10 8 bits.[src] Another attack requires 2 0.694L steps.[src] ==References== ==Further reading== Handbook of Applied Cryptography[src]
26 sentences · 26 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Self-shrinking generator." encyclopegia.org, 2026, https://encyclopegia.org/wiki/self-shrinking-generator. Accessed 03 December 2026.
Chicago
"Self-shrinking generator." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/self-shrinking-generator.
APA
encyclopegia.org. (2026). Self-shrinking generator. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/self-shrinking-generator
Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON