Evolution Algorithm that will Solve almost any Cipher!
This is a joint project between me and a friend, @cv88. We've set it up to solve playfair ciphers, but if you want to make it work for other types of cipher, you just need to write a bit of code specific to that cipher, and you're ready to go! For further instructions, see the 1nstructions.txt file inside the USER folder. Find that and run it here: https://repl.it/@ThomasS1/EvolutionAlgorithmForCiphers
Hope you enjoy using it! Please comment/ping me and @cv88 if you get it to work for any other ciphers!
Oh, and, please leave a like!
In USER/cipherSpecific.py, you have "ABCDEFGHIKLMNOPQRSTUVWXYZ."
Where is "J"?
@ZZach In the playfair cipher, the letters I and J are considered one character (I), so that a 5x5 grid can be made out of the alphabet. A good explanation of the Playfair cipher can be found here: https://learncryptography.com/classical-encryption/playfair-cipher
PS: sometimes different characters are merged, e.g. all letter Zs replaced by Xs.
:/ how do you use this? seems broken.
@joshuakeogde Hmm, what's the problem? Make sure you've read USER/1nstructions.txt before using. If it's just stopping and not seeming to do anything, that's probably just because it's doing so many thousands of calculations that it does, inevitably, take a long time. If there's actually a syntax error coming out, please send me more details!