Crate playfair_cipher
source ·Expand description
The crate contains the playfair and the four square cipers. Note both of the are pre computer cipers. Do not feel like protecting data of any value with them. Both are crackable in very short time.
When using the method encrypt the payload is converted to uppercase and any character not within the range A..I and K..Z is ignored. E.g. “I would like 4 tins of jam.” becomes “IWOULDLIKETINSOFIAM”. So you don’t need to clear off not encryptable characters when using this library.
Modules
- This is the implentation of the FourSquare cipher as described https://en.wikipedia.org/wiki/Four-square_cipher
- This is the implentation of the PlayFair cipher as described https://en.wikipedia.org/wiki/Playfair_cipher