Question

Consider the following linear recurrence over Z2 of degree four: Zi+4 = (Zi + Zi+3) mod...

Consider the following linear recurrence over Z2 of degree four:

Zi+4 = (Zi + Zi+3) mod 2,

i ≥ 0. For each of the 16 possible initialization vectors (Z0, Z1, Z2, Z3) Ԑ (Z2)4, determine the period of the resulting keystream.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

ANS : All combinations of 0,1 of length 4. Interpret (0,1,0,1)(0,1,0,1) (as an example) as z0=0,z1=1,z2=0,z3=1z0=0,z1=1,z2=0,z3=1.

Then z4z4 is given by the sum of these 4, so z4=0z4=0 (as we work mod 2), so the sequence becomes (0,1,0,1,0)(0,1,0,1,0). Then z5=z4+z3+z2+z1=0z5=z4+z3+z2+z1=0 mod 2, again, so we have (0,1,0,1,0,0)(0,1,0,1,0,0), etc. You go on till you find that the last 4 sequence elements are (0,1,0,1)(0,1,0,1) again, and then you know the period (you're back where you started): the number of steps (i.e. new sequence elements computed) taken to get there.


answered by: Bhavya
Add a comment
Know the answer?
Add Answer to:
Consider the following linear recurrence over Z2 of degree four: Zi+4 = (Zi + Zi+3) mod...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT