ebooksgratis.com

See also ebooksgratis.com: no banners, no cookies, totally FREE.

CLASSICISTRANIERI HOME PAGE - YOUTUBE CHANNEL
Privacy Policy Cookie Policy Terms and Conditions
Self-shrinking generator - Wikipedia, the free encyclopedia

Self-shrinking generator

From Wikipedia, the free encyclopedia

A self-shrinking generator is a pseudorandom number generator and a variant of the shrinking generator concept. It is a generator used in cryptography and has reasonable security properties when used in conjunction with a Linear feedback shift register (LFSR).

Contents

[edit] Algorithm

Instead of using two distinct LFSR with one register driving the second register outputs, the self-shrinking generator operates with a single register. The procedure for clocking this kind of generator is as follows:

  1. Clock two bits from the LSFR.
  2. If the pair is 10 output a zero.
  3. If the pair is 11 output a one.
  4. Otherwise, output nothing.
  5. Return to step one.

[edit] Example

This example will use the connection polynomial: x^8 + x^4 + x^3 + x^2 + 0

The key will be: 1 0 1 1 0 1 1 0.

Below is the output of the LFSR before it is self-shrunk. The tap positions are marked with the blue headings. The key is loaded in to the zeroth iteration, so it has no output bit. The subsequent iteration numbers each output a single bit.

See the LFSR article for details on how these rows are generated.

Iteration # 8 7 6 5 4 3 2 1 Output
0 1 0 1 1 0 1 1 0 N/A
1 1 1 0 1 1 0 1 1 0
2 1 1 1 0 1 1 0 1 1
3 1 1 1 1 0 1 1 0 1
4 1 1 1 1 1 0 1 1 0

At the end of four iterations the following sequence of bits is produced: 0110.

The first pair of bits, 01, is discarded since it doesn't match either 10 or 11. The second pair of bits, 10, matches the second step of the algorithm so we output a zero.

To generate more bits, we simply continue to clock the LFSR and shrinking it as we have done above.

[edit] Cryptanalysis

Meier and Staffelbach [1] showed that any self-shrinking generator can be represented as a shrinking-generator. 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.

They went on to show that if the period is at least 2L/2 and also that the linear complexity of the construction is 2L/2-1. They presented an attack on the construction that requires 20.7L steps.

A more advanced attack [2], discovered by Mihaljević, is able to break a register a hundred bits in length in around 257 steps, using an output sequence of only 4.9 x 108 bits.

[edit] References

  • [1] "The self-shrinking generator", Advances in Cryptology-Eurocrypt 1994 (LNCS 950), 205-214, 1995.
  • [2] "An security examination of the self-shrinking generator", Circencester, UK, December 1995.

[edit] Further reading

Languages


aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -