Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
maketrans solution in Clear category for Caesar Cipher (encryptor) by twilyght
from string import ascii_lowercase
def to_encrypt(text, delta) -> int:
dict = str.maketrans(ascii_lowercase, ascii_lowercase[delta:] + ascii_lowercase[:delta])
return text.translate(dict)
May 30, 2020
Comments: