Collection of python scripts to decrypt or encrypt stuff.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cipher/lib/vars.py

19 lines
532 B

eng_alphabet = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]
swe_alphabet = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z", "å", "ä", "ö"]
# Definitions
alphabet = dict()
alphabet["ENG"] = eng_alphabet
alphabet["SWE"] = swe_alphabet
# Functions
def listToString( l ):
returnStr = ""
for char in l:
returnStr += char
return returnStr