Apr-01-2019, 08:51 PM
I would make keys a parameter to decipher, with a default (as a string like in your desired example) equivalent to what the global variable is now. Convert that to a dictionary like keys is now, and use that for encryption. Of course, first you need to fix the fact that your keys only cover half the dictionary, so only half the letters get encrypted.
Craig "Ichabod" O'Brien - xenomind.com
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures
I wish you happiness.
Recommended Tutorials: BBCode, functions, classes, text adventures