Question
1. write programs to implement the following: 1) one-time pad 2) the RC4 stream cipher 3) construction for a deterministic polynomial-time algorithm G zs a
1. write programs to implement the following: 1) one-time pad 2) the RC4 stream cipher 3) construction for a deterministic polynomial-time algorithm G zs a variable output-length pseudorandom generator if the following hold:
1. Let s be a string and .e > 0 be an integer. Then G ( s, 11) outputs a string of length .e.
2. For all s, .e, f' with .e < .e, the string G( s, 1 E) is a prefix of G(s, 1 E') .
3. Define GE (s) def G(s, 1E(Isl)). Then for every polynomial C() it holds that G E is a pseudorandom generator with expansion factor .e. 4) stream-cipher mode of operation for encrypting a single variable-length message
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started