Awesome-Python-Scripts/caeser_cipher
2018-10-03 19:37:33 -05:00
..
caeser.py added simple commandline tool to perform caeser cipher en/decoding. I usually use it in CTFs 2018-10-03 19:29:52 -05:00
README.md added caeser cipher readme 2018-10-03 19:37:33 -05:00

Simple Caeser Cipher [En,De]coder

A simple implementation of a CLI tool to work with caeser ciphers. The default implementation is ROT-13, but can be adjusted for any offset. Works on files and string arguments passed via CLI.

python3 caeser.py

usage: caeser.py [-h] [-d] [-o OFFSET] (-f FILE | -s STRING)
caeser.py: error: one of the arguments -f/--file -s/--string is required
python3 caeser.py -s "have you tried turning it off and on again?"
unir lbh gevrq gheavat vg bss naq ba ntnva?
python3 caeser.py -d -s "unir lbh gevrq gheavat vg bss naq ba ntnva?" 
have you tried turning it off and on again?
python3 caeser.py -s "have you tried turning it off and on again?" -o -4
dwra ukq pneaz pqnjejc ep kbb wjz kj wcwej?