CipheyCore
CipheyCore copied to clipboard
WIP: Add Playfair cracker
trafficstars
Companion to my PR in Ciphey.
Ciphertext is not playfair if is contains a repeated digraph (AA, BB, CC, etc.)
https://github.com/Ciphey/CipheyCore/blob/ca590319a7f3a951feed1d9089ffe3684002b67a/src/ciphers/playfair.cpp#L16-L21
This comment was generated by todo based on a TODO comment in ca590319a7f3a951feed1d9089ffe3684002b67a in #13. cc @RotationMatrix.
Ciphertext is not playfair if is contains more than 25 distinct letters.
https://github.com/Ciphey/CipheyCore/blob/ca590319a7f3a951feed1d9089ffe3684002b67a/src/ciphers/playfair.cpp#L18-L23
This comment was generated by todo based on a TODO comment in ca590319a7f3a951feed1d9089ffe3684002b67a in #13. cc @RotationMatrix.
Use ciphertext to guess the 26th letter.
https://github.com/Ciphey/CipheyCore/blob/ca590319a7f3a951feed1d9089ffe3684002b67a/src/ciphers/playfair.cpp#L36-L41