From a196373e052ce9b645ba5a46b19aa765b8f74ca9 Mon Sep 17 00:00:00 2001 From: Mattrixwv Date: Sun, 16 Jan 2022 15:38:02 -0500 Subject: [PATCH] Added examples to README --- README.md | 41 ++++++++++++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 4d6dcad..27e37a6 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ This is not technically a cipher, it simply converts ASCII characters to their n Example: ``` -TODO: +Message to encode -> +1001101 1100101 1110011 1110011 1100001 1100111 1100101 100000 1110100 1101111 100000 1100101 1101110 1100011 1101111 1100100 1100101 ``` ### Baconian @@ -17,7 +18,8 @@ The Baconian cipher is similar to Base2 encoding (binary) except that the alphab Example: ``` -TODO: +Message to encode -> +ababb aabaa baaab baaab aaaaa aabba aabaa baaba abbab aabaa abbaa aaaba abbab aaabb aabaa ``` ### Caesar @@ -25,7 +27,9 @@ The Caesar cipher offsets the letters in the alphabet by a given amount. It does Example: ``` -TODO: +offset = 3 +Message to encode -> +Phvvdjh wr hqfrgh ``` ### Atbash @@ -33,7 +37,8 @@ The Atbash cipher reverses the alphabet for encryption. i.e. a = z, b = y, .... Example: ``` -TODO: +Message to enocde -> +Nvhhztv gl vmxlwv ``` ### Vigenere @@ -41,7 +46,9 @@ TODO: The Vigenere cipher shifts each letter in the input a varied amount based Example: ``` -TODO: +key = keyword +Message to encode -> +Wiqooxh ds cjqfgo ``` ### Autokey @@ -49,7 +56,9 @@ The Autokey cipher works in a similar way to the Vigenere cipher except that ins Example: ``` -TODO: +key = keyword +Message to encode -> +Wiqooxh fs wfcuhx ``` ## Poly-Substitution @@ -60,10 +69,24 @@ This is technically not a cipher, at least any more than writing is encoded spea Example: ``` -TODO: +Message to encode -> +-- . ... ... .- --. . - --- . -. -.-. --- -.. . ``` ### Playfair -### PolybiusSquare +TODO: -TODO: Change leave_ booleans to preserve_ \ No newline at end of file +Example: +``` +Message to encode -> +NKQZPCNDZKDULCGD +``` + +### PolybiusSquare +TODO: + +Example: +``` +Message to encode -> +41124545233212 5115 124225152212 +```