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

how to find the binary of a number?

10 Answers   Infosys,


What does typedef struct mean?

0 Answers  


What is the difference between a structure and a union?

2 Answers  


What is C language ?

0 Answers   Jekson,


How is = symbol different from == symbol in c programming?

0 Answers  


what is c++ programming?

3 Answers   TCS,


How can I return multiple values from a function?

6 Answers  


what is the most appropriate way to write a multi-statement macro?

1 Answers  


Is c still used?

0 Answers  


Differentiate between #include<...> and #include '...'

0 Answers  


to find the closest pair

0 Answers   Infosys,


What does the error message "DGROUP exceeds 64K" mean?

0 Answers   Celstream,


Categories