This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
############ Made By Mouad KHIAT / Python 3.7 | |
############ if you have another idea to write this famous cipher put it in the comment | |
############ It's started with DOHD MDFWD HVW ==> ALEA JACTA EST (key = 3) | |
def transform(x): | |
x = list(x) | |
for i,n in enumerate(x): | |
if n in ABC: | |
x[i] = ABC.index(n) | |
return x | |
def crypt(x,key): |