QUESTION

Write a C++ program that can perform a letter frequency attack on any monoalphabetic substitution cipher without human intervention. Your software should produce possible plaintexts in rough order of likelihood. It would be good if your user interface allowed the user to specify “give me the top 5 possible plaintexts.”

Public Answer

M1AEBT The First Answerer