From cecafea276f0dd99a988a59f2265e1c96e91b86f Mon Sep 17 00:00:00 2001 From: pyro57000 Date: Fri, 15 Aug 2025 11:04:12 -0500 Subject: [PATCH] added the readme --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 316675c..a00af24 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ # CrackaCesar rusty cesar cipher cracker + +# USAGE: +CrackaCipher cipher text words here. + +# Example: +CrackaCesar Jr ubcr lbhe oht obhagl pnerre vf shyy bs ohtf naq tbyq + +# How it works: +It keeps a hashmap where every letter of the alphabet are the values, and their index is the key. + +It then takes your cipher and breaks out the small words > 4 characters and decrypts them with every key between 0 and 25. I then checks those words against a list of commonly used short words in the english language. If every word is valid then it decrypts the rest of the cipher with that key, if more then half the words are valid it will prompt you to attempt to decrypt it with that key, if less then half the words are valid it will print out every word and every decryption with the attempted keys, and prompt you to choose the most correct one.