I need a sort of an approximate strcmp routine?
No Answer is Posted For this Question
Be the First to Post Answer
How can I read a binary data file properly?
can we store values and addresses in the same array? explain
What is the use of ?: Operator?
What is an array in c?
what is difference between declaring the pointer as int and char in c language?
Given an array of characters, how would you reverse it? How would you reverse it without using indexing in the array?
What is structure padding and packing in c?
What do you mean by a local block?
write a method for an array in which it can display the largest n next largest value.
What is the use of typedef in structure in c?
related to rdbms query .
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]