2018年7月19日

python3加密 解密 签名 验签

摘要: 1 from Crypto import Random 2 from Crypto.Hash import SHA 3 from Crypto.Cipher import PKCS1_v1_5 as Cipher_pkcs1_v1_5 4 from Crypto.Signature import PKCS1_v1_5 as Signature_pkcs1_v1_5 5 from Cry... 阅读全文

posted @ 2018-07-19 10:03 sammy1989 阅读(2073) 评论(0) 推荐(0) 编辑

python3读取xml字符串

摘要: 1 import xml.sax 2 import xml.sax.handler 3 import pprint 4 5 6 class XMLHandler(xml.sax.handler.ContentHandler): 7 def __init__(self): 8 self.buffer = "" 9 self.mappin... 阅读全文

posted @ 2018-07-19 10:01 sammy1989 阅读(7543) 评论(0) 推荐(0) 编辑

导航