Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
ascii.lowercase solution in Clear category for Caesar Cipher (decryptor) by Adrian_Sanz_Wallace
import string
def to_decrypt(cryptotext, delta):
keys = string.ascii_lowercase
values = keys[delta:] + keys[:delta] + ' '
d = dict(zip(keys + ' ', values))
return ''.join([d[a] for a in cryptotext if a in values])
April 3, 2021
Comments: