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 the difference between %d and %i?
Describe newline escape sequence with a sample program?
What is meaning of tree
What is a void pointer? When is a void pointer used?
The code is::::: if(condition) Printf("Hello"); Else Printf("World"); What will be the condition in if in such a way that both Hello and world are printed in a single attempt?????? Single Attempt in the sense... It must first print "Hello" and it Must go to else part and print "World"..... No loops, Recursion are allowed........................
14 Answers HOV Services, IBM, Potty,
1)which of following operator can't be overloaded. a)== b)++ c)?! d)<=
What is pointer in c?
What is difference between structure and union in c?
can u suggest me am in a confusion to choose whether to go to c programming or a software testing . am a graduate in B.sc(electronics).
write a program to swap two numbers without using temporary variable?
write a program to copy a string without using a string?
is it possible to change the default calling convention in c ?