In cryptography, you could often break the algorithm if you
know what was the original (plain) text that was encoded
into the current ciphertext. This is called the plain text
attack. In this simple problem, we illustrate the plain
text attack on a simple substitution cipher encryption,
where you know each letter has been substituted with a
different letter from the alphabet but you don’t know what
that letter is.
You are given the cipherText as the input string to the
function getwordSets(). You know that a plain
text "AMMUNITION" occurs somewhere in this cipher text.
Now, you have to find out which sets of characters
corresponds to the encrypted form of the "AMMUNITION". You
can assume that the encryption follows simple substitution
only. [Hint: You could use the pattern in the "AMMUNITION"
like MM occurring twice together to identify this]
No Answer is Posted For this Question
Be the First to Post Answer
What is derived datatype in c?
Why functions are used in c?
Explain how can you check to see whether a symbol is defined?
explain what is an endless loop?
how c source file in converted to exe file
Why the use of alloca() is discouraged?
What is the modulus operator?
Hai what is the different types of versions and their differences
What is static memory allocation?
What's the right way to use errno?
what is the use of c program?
4 Answers Synergy, Web Synergies,
What is a macro in c preprocessor?