Created
August 26, 2016 03:23
-
-
Save AnalogGhost/57fc26cd409f8baf4dd72fef5b58eea9 to your computer and use it in GitHub Desktop.
Revisions
-
AnalogGhost created this gist
Aug 26, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,16 @@ #Caesar Cipher In cryptography, a Caesar cipher (also known as a shift cipher) is a type of substitution cipher where each letter in the plaintext is replaced a letter some fixed number of positions down the alphabet. [More Details](https://en.wikipedia.org/wiki/Caesar_cipher) Warm Up Activity. 1. Create a function that will take in plaintext and a shift number and return the encoded ciphertext. 2. Create a function that will take in the ciphertext a shift number and return plaintext. Notes - 1. Only letters should be shifted. All other laters should be ignored. Warning - The Caesar cipher is ridiculously weak and easily broken. This will provide virtually no security.