diff --git a/caesar_cipher.py b/caesar_cipher.py new file mode 100644 index 0000000..b191025 --- /dev/null +++ b/caesar_cipher.py @@ -0,0 +1,67 @@ +#This is a python program to decode and encode a caesar-cypher, given its key. + +#Function to encrypt a given string. +def encrypt(k): + n,i=0,0 + l="abcdefghijklmnopqrstuvwxyz" + l=list(l) + b=[] + a=input("enter text to be encrypted: ") + a=list(a) + while(n