摘要:
import logging import os import datetime if __name__ == '__main__': level = logging.INFO log_filename = "D:/log/log_%s.log" try: if not os.path.exists(log_filename % datetime... 阅读全文
摘要:
import binascii from Crypto.Cipher import AES #秘钥,此处需要将字符串转为字节 from utils import config from utils.env_operation import conf_parse key = b'abcdefgh' #加密内容需要长达16位字符,所以进行空格拼接 class crypt_util(): ... 阅读全文