Skip to content

Latest commit

 

History

History
26 lines (22 loc) · 624 Bytes

README.md

File metadata and controls

26 lines (22 loc) · 624 Bytes

Classical Cryptography

A selection of classical cryptographic techniques for use with the Latin alphabet.

Cipher List

  • Polybius Square
    • Bifid
    • Trifid
    • Nihlist
  • Caesar
  • Playfair

Example Usage

Perform a ROT13 cipher shift on a simple plaintext:

python3 crypto.py "HELLO WORLD" -c caesar -e -k 13

Decipher polybius coordinate numbers using a standard polybius square:

python3 crypto.py 23153131345234423114 -c polybius -d

Encrypt a plaintext using the key "HELLO" and a polybius square shifted with the keyword "WORLD":

python3 crypto.py HELLOWORLD -c nihlist -k HELLO -s WORLD