From 891e3ac0da4bacdbefb0898c50cbf6c49e5ce537 Mon Sep 17 00:00:00 2001 From: Josh Mudge Date: Sat, 6 Oct 2018 11:53:21 -0600 Subject: [PATCH] Update Caeser README --- Caeser-Cipher/README.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Caeser-Cipher/README.md b/Caeser-Cipher/README.md index 60963fa..484ebe0 100644 --- a/Caeser-Cipher/README.md +++ b/Caeser-Cipher/README.md @@ -17,12 +17,14 @@ This tool is a work in progress. ### Encrypt -`python3 caeser-cipher.py encrypt "secretmessage"` +`python3 caeser-cipher.py encrypt [secretmessage] [shift]` -For example: `python3 caeser-cipher.py encrypt "Hi, how are you?""` +For example: `python3 caeser-cipher.py encrypt "Hi, how are you?" 3"` ### Decrypt `python3 caeser-cipher.py decrypt "encryptedtext"` -For example: `python3 caeser-cipher.py decrypt "hhhhhhhhhh"` +For example: `python3 caeser-cipher.py decrypt "hhhhhhhhhh" 3` + +If you don't know the shift for the encrypted text, use 0 for the shift. The script will attempt to break the cipher for you.