Cracking a substitution cipher with no key: simulated annealing + trigram fitness
A monoalphabetic substitution cipher swaps every letter for another, consistently, across the whole message. E always becomes Q, T always becomes X, and so on. It is the cipher behind newspaper crypto
yijunkim.hashnode.dev6 min read