Buda, a 9th century mathematician by the name Al-Kindi did a paper explaning how to break an encryption using what you are describing, the term is "frequency analysis". And there was no AI 1100 years ago. And the encryptions that can be broken using this method, called shift ciphers, are very...