Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
Simple solution in Clear category for Caesar Cipher (decryptor) by suic
from collections import deque
from string import ascii_lowercase as a
def to_decrypt(text, delta):
d = deque(a)
d.rotate(delta)
tr = str.maketrans("".join(d), a)
return "".join(filter((a + " ").__contains__, text)).translate(tr)
May 5, 2018