I want to know the answer for the question above, given that we encrypt a message that ends with a "0" and the encryption key is concatenated with a "0" to, in that case that case the cyphertext would also end with a zero, knowing that the attacker would know that the last bit of the key and the message is the same, would that cause a problem in case we're using a OTP to encrypt our messages?
Asked
Active
Viewed 195 times
1
-
What is "a OPT ciphertext"? – Sep 24 '16 at 22:00
-
I'm sorry I meant OTP for one time pad i just corrected it ! – dev Sep 24 '16 at 22:02
-
Didn't we just have another question about this same exercise? – Ilmari Karonen Sep 24 '16 at 22:40
-
I don't think so sorry – dev Sep 24 '16 at 22:51
-
Ah, here it is. IMO, that question was kind of poorly asked, though, so I'm not voting to close yours as a duplicate of it. – Ilmari Karonen Sep 24 '16 at 23:02
-
thanks for your reply but what I wanted to know though is that, if an attacker knows 1 bit from the encrypted text, could that reveal any information about the original message ? – dev Sep 24 '16 at 23:15
-
TL;DR: No, because the attacker learns nothing new about the message from having the cipher text. – SEJPM Sep 25 '16 at 13:11
1 Answers
2
No, this wouldn't cause problems.
The reason for this is the way how perfect secrecy is defined.
The definition says that a scheme is perfectly secret if an attacker doesn't learn anything new about the message when giving a cipher text, also see my other answer for a more "mathy" formulation.
So an attacker knows a certain bit is fixed, thus he can't ever learn anything new about it from the cipher text. And he also can't learn anything new about the rest of the message because only the corresponding key bit is fixed and the rest of the key stream is still uniformly and independently random and is thus still an OTP.

SEJPM
- 45,967
- 7
- 99
- 205