Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Caesar Cipher solution in Clear category for Caesar Cipher (encryptor) by cc41516
def encrypt(char, delta):
if char == " ":
return " "
else:
return chr(((ord(char) - 97 + delta) % 26) + 97)
def to_encrypt(text, delta):
return ("").join([encrypt(x, delta) for x in text])
July 29, 2018
Comments: