类似于凯撒密码一样的加密
# *-* coding=utf-8 *-* import string intab = string.lowercase outtab = 'qwertyuiopasdfghjklzxcvbnm' old = 'kiqlwtfcqgnsoo'.lower() new = old.translate(string.maketrans(intab, outtab)) print new
类似于凯撒密码一样的加密
# *-* coding=utf-8 *-* import string intab = string.lowercase outtab = 'qwertyuiopasdfghjklzxcvbnm' old = 'kiqlwtfcqgnsoo'.lower() new = old.translate(string.maketrans(intab, outtab)) print new