Let G be a secure pseudorandom generator with expansion factor α. Please describe a computationally secure symmetric key encryption scheme based on such G.
Q.Let G be a secure pseudorandom generator with expansion factor α. Please describe a computationally secure symmetric key encryption scheme based on such G.
Answer:
Gen: On input 1n, choose k {0, 1}n uniformly at random and output it as the key.
• Enc: On input a key k ∈ {0, 1}n and a message m ∈ {0, 1}(n). output the ciphertext
c := G(k) m.
• Dec: On input a key k ∈ {0, 1}n and a ciphertext c∈ {0, 1}(n), output the plaintext message
m := G(k) c.
Get Answers For Free
Most questions answered within 1 hours.