Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
dict solution in Clear category for Caesar Cipher (encryptor) by David_Jones
def to_encrypt(text, delta):
alphabet = 'abcdefghijklmnopqrstuvwxyz'
shifted = dict(zip(alphabet, alphabet[delta:] + alphabet[:delta]))
return ''.join(shifted[ch] if ch in shifted else ch for ch in text)
May 16, 2019
Comments: