I want to encrypt a string in python. Every character in the char is mapped to some other character in the secret key. For example 'a' is mapped to 'D', 'b' is mapped to 'd', 'c' is mapped to '1' and so forth as shown below:
char = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"
secretkey="Dd18Abz2EqNPWhYTOjBvtVlpXaH6msFUICg4o0KZwJeryQx3f9kSinRu5L7cGM"
If I choose the string "Lets meet at the usual place at 9 am" the output must be "oABjMWAABMDBMB2AMvjvDPMYPD1AMDBMGMDW"