Question: Problem 1 - Linear feedback shift register key streams ( 1 1 marks ) Stream ciphers such as the one - time pad require a

Problem 1- Linear feedback shift register key streams (11 marks)
Stream ciphers such as the one-time pad require a secret key stream of pseudorandom bits. In this
problem, you will cryptanalyze one possible approach for generating such a key stream.
Let m be a positive integer and c0,c1,dots,cm-1in{0,1} a sequence of m fixed bits. Let z0,z1,dots,zm-1
be any sequence of m bits and define zm,zm+1,zm+2,dots via the linear recurrence
zn+m-=cm-1zn+m-1+cm-2zn+m-2+cdots+c1zn+1+c0zn(mod2),(n0),
with the usual arithmetic modulo 2. The fixed bits c0,c1,dotscm-1 are the coefficients of the linear
recurrence (1) and the initial values z0,z1,dots,zm-1 are its seed. If the seed and the coefficients are
appropriately chosen, then (1) generates a sequence of 2m pseudorandom bits1(zi)i0 from a seed
of length m. This type of construction is popular since it can be implemented very efficiently in
hardware using a linear feedback shift register (LFSR). If you are interested in how to do this; see
pp.36-37 of the Stinson-Paterson book, but you don't need to consult this source or know what an
LSFR is in order to solve this problem.
a.(2 marks) Consider the recurrence
zn+4-=zn+3+zn(mod2),
This represents the special case of (1) with m=4 and (c3,c2,c1,c0)=(1,0,0,1). Write down
the first 19 bits z0,z1,dots,z18 generated by this recurrence with seed (z0,z1,z2,z3)=(1,0,1,0).
 Problem 1- Linear feedback shift register key streams (11 marks) Stream

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!