python
_Quant
这个作者很懒,什么都没留下…
展开
-
python 实现DES3加密解密
python DES3加密可以用 Crypto库实现from Crypto.Cipher import DES3cipher = DES3.new(key, DES3.MODE_CBC, iv=iv)首先创建加密cipher对象,这里的key必须是16或者24长度的字节数组,第二个参数是模式,iv是偏移量result = cipher.encrypt(byte_string) 传入待加密文本result 返回的是一个二进制strbinascii.b2a_hex(resul原创 2021-07-19 22:48:24 · 3855 阅读 · 0 评论 -
python 记录第一次用WebService的方式调用接口,用suds碰到的问题, 怎么在url后加参数
在使用前WebService服务是啥都wan'qu查的资料看的案例都是一样的from suds.client import Client原创 2021-06-02 19:59:53 · 538 阅读 · 2 评论