Skip to content
Sign upLog in

Community

#caesarcipher
FEATURED
jeff
Cycles Feedback
TheDrone7
Welcome to Replit Community [+ Rules]
TOP TAGS
#games
#apps
#python
#javascript
#html
#fun
#game
#simple
#python3
#java
#cpp
#bash
n8gariepy
n8gariepy
published a Repl
1 month ago
1
Caesar Cipher
Caesar CipherEncrypt and Decrypt Top Secret Messages!
#python
#encryption
#decryption
+1
Catxa
Catxa
works fine! :)1 month ago
etern4lslumb3r
etern4lslumb3r
published an Update
2 months ago
0
Caesar Cipher decoder/encoder
Caesar Cipher decoder/encoderA Caesar cipher is one of the simplest and most widely known encryption techniques. It is a type of substitution cipher in which each letter is replaced by a letter some fixed number of positions down the alphabet. This program includes an encoder/decoder to experiment with Caesar Cipher encoded texts.
removed hard coded shift limit
Removed hard coded shift limit by adding modulo operator. Will now be able to shift plaintext by N > len(alphabet) accurately. Example: "a" -> 1 = "b" ; "a" -> 27 = "b" Explanation: There are only 26 letters in the English Alphabet. 27%len(engalphabet) = 1 ; engalphabet[1] = "b"