Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

Post New Answer

More C Interview Questions

for(;;) printf("C language") What is out put of above??

2 Answers   Practical Viva Questions,


What should malloc(0) do?

0 Answers  


What is a segmentation fault?

2 Answers  


What is a spanning Tree?

1 Answers   TCS,


wat is the difference between array and pointer?

4 Answers   Wipro,


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

0 Answers  


What are directives in c?

0 Answers  


What are categories used for in c?

0 Answers  


What is c mainly used for?

0 Answers  


What is declaration and definition in c?

0 Answers  


How do I initialize a pointer to a function?

2 Answers  


I came across some code that puts a (void) cast before each call to printf. Why?

0 Answers  


Categories