3 from string
import ascii_uppercase, ascii_lowercase
7 self.
a = b
'3530346e36313539393971733336717171323031323134377036356f6f367030'
8 self.
s = b
'3330373736326f7236716e30323171'
12 for char
in bytes.fromhex(data).
decode(
'ascii'):
13 if char
in ascii_uppercase:
14 index = (ascii_uppercase.find(char) + 13) % 26
15 total.append(ascii_uppercase[index])
16 elif char
in ascii_lowercase:
17 index = (ascii_lowercase.find(char) + 13) % 26
18 total.append(ascii_lowercase[index])
25 for char
in bytes.fromhex(data).
decode(
'ascii'):