Linear Feedback Shift Register

A linear feedback shift register is a shift register whose input is the exclusive-or of some of its outputs. The outputs that influence the input are called taps. A maximal LFSR produces an n-sequence, unless it contains all zeros. The tap sequence of an LFSR can be represented as a polynomial mod 2 - called the feedback polynomial. For example, if the taps are at the 1st, 3rd, 4th and 6th bits (as below), the polynomial is x^{16} + x^{5} + x^3 + x^2 + 1. If this polynomial is primitive, then the LFSR is maximal.
LFSR's can be implemented in hardware, and this makes them useful in applications that require very fast generation of a pseudo-random sequence, such as direct-sequence spread spectrum radio. Given an output sequence you can construct a LFSR of minimal size by using the Berlekamp-Massey algorithm A Galois LFSR, or a LFSR in Galois configuration is a variation on typical LFSR design. In Galois configuration, the output is individually xor'ed with each tap, before becoming the new input. Galois LFSRs do not concatenate every tap to produce the new input, thus it is possible for each tap to be computed in parallel, increasing the speed of execution.

Use in cryptography

LFSRs have long been used as a pseudo-random number generator for use in stream ciphers (especially in military cryptography), due to the ease of construction from simple electromechanical or electronic circuits, long periods, and very uniformly distributed outputs. However the outputs of LFSRs are completely linear, leading to fairly easy cryptanalysis. Three general methods are employed to reduce this problem in LFSR based stream ciphers:
  • Non-linear combination of several bits from the LFSR state;
  • Non-linear combination of the outputs of two or more LFSRs; or
  • Irregular clocking of the LFSR.
Important LFSR-based stream ciphers include A5/1, A5/2, and the shrinking generator.

See also

External links

  • http://www.maxim-ic.com/appnotes.cfm/appnote_number/1743
  • http://www.ee.ualberta.ca/~elliott/ee552/studentAppNotes/1999f/Drivers_Ed/lfsr.html

 

<< PreviousWord BrowserNext >>
timeline of stellar astronomy
timeline of white dwarfs, neutron stars, and supernovae
timeline of knowledge about the interstellar and intergalactic medium
timeline of knowledge about galaxies, clusters of galaxies, and large scale structure
timeline of cosmic microwave background astronomy
diphtheria
timeline of other background radiation fields
timeline of cosmology
list of notifiable diseases
timeline of astronomical maps, catalogs, and surveys
timeline of telescopes, observatories, and observing technology
timeline of artificial satellites and space probes
timeline of biology and organic chemistry
evening standard (london)
timeline of medicine and medical technology
timeline of geology
observatory
apocalypse
friedensreich hundertwasser
ann landers
reed (music)
arundo
oda von haldensleben
adom
sin (computer game)
fog
colemanballs
guelders
ludlow
number sign
150 bc
250 bc
255 bc
134 bc
nicholas bacon
list of genetic disorders
purley
list of biologists
jug band
washboard
pierce egan
list of knots
melbourne
yaren