摘要:
dict = { 'a': '1', 'b': '2', 'c': '3', 'd': '4'}# 需要加密数据key = 'abcd'keys = ''for i in key: i = dict[i] keys += str(i)print(keys) 阅读全文
摘要:
# -*- coding: cp936 -*-import base64src = "明文数据"tgt = base64.b64encode(src.encode('UTF-8'))print(tgt)src = base64.b64decode(tgt).decode('utf-8')print( 阅读全文
摘要:
a='lWNuaphrZphoYVNVkpmWmWWYaWZimA=='a=a[::-1]print(a) 阅读全文