1

I have 10 ciphertexts and 10 plain texts I want to know which cipher is from which plain text

how can I know this

I know the name of substitution cipher, transposition cipher, Vigen`ere cipher and case-insensitive letters-only one-time pad that are used in these 10 cipher and plain text

1 Answers1

1

Do frequency analysis by counting the number of occurrences of each letter.

For a transposition cipher, the counts will be similar to the underlying language (e.g. E T A O N will be common in English).

For a substitution cipher there will be the same distribution of counts as the underlying language, but the high counts will match with the wrong letters.

For Vigenere, the counts will be more uniform and closer to being equal.

If you have matching plaintext, the counts for transposition will be identical; the counts for substitution will be the same numbers in a different order; the counts for Vigenere will be very different.

Daniel S
  • 29,316
  • 1
  • 33
  • 73