Crypto (1) Final
Crypto (1) Final
➢ The one-time pad is considered perfectly secure because each bit of the
plaintext is encrypted with a completely random bit from the key, and the
key is as long as the message. If the key is truly random and used only
once, the ciphertext gives no information about the plaintext, ensuring
perfect security.
16 mark:
Pr [ E(k,m0) = c ] = Pr [ E(k,m1) = c ]
Key Characteristics of Perfect Security:
➢ One-Time Pad Example: In the OTP system, each bit of the plaintext
is encrypted with a random bit of the key. The key is the same length as
the message and is used only once. If the key is truly random,
completely independent of the plaintext, and never reused, the
encryption cannot be cracked. Even if the attacker intercepts the
encrypted message (ciphertext), every possible plaintext of the same
length is equally likely.
Example:
Ciphertext: E Q N V Z
Why It's Difficult to Achieve in Practice:
➢ Key Distribution: For perfect security, both sender and receiver must
have the same key, which must be securely distributed before
communication. In real-world applications, distributing long, random
keys securely is highly impractical, especially over insecure channels
like the internet.