Score:0

What is a ciphertext only attack and how OTP is unbreakable using this attack

wf flag

I was wondering that what actually is cipherText-only attack and how the One Time Pad Encryption cant be broken by this attack?

Score:1
us flag

A Ciphertext-only attack is what it sounds like, it's a type of attack model in which the attacker only knows the ciphertext (encrypted text) and has no knowledge of the plaintext (decrypted text). In practice though, usually the attacker has at least some knowledge of the plaintext, like the set of characters used or the language used.

A one time pad can't be broken because there are many answers (that make sense) given a ciphertext, so there is no way to know the actual intended plaintext. Generally encryption methods yield nonsense if decryption fails for most part, so it's possible to try out all possible keys until you reach an answer, but with something like OTP, this is not possible.

As a simple example if I give you "xxxx" as a ciphertext and tell you to break it, the answer could be "what" or "when" or "past" or any other 4 character thing depending on the key, you have no way to know which one it is.

Chinmay Pant avatar
wf flag
All right, its almost clear. Just to confirm, in OTP, if we only have cyphertext _c_ and nothing else, so there is no way to predict about the plaintext or the key. Is it right? Thanks
Hormoz avatar
us flag
As I said, if you only have the cipher text of a perfect OTP, then, there is no way to know what was the intended plaintext. So there is no way.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.