![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
python3
py_cream
这个作者很懒,什么都没留下…
展开
-
Python令牌桶限流
Python令牌桶限流(redis)原创 2022-04-08 12:18:40 · 1752 阅读 · 0 评论 -
Python3解析微信小程序密文
小程序必须先登录再获取手机号,不能将wx.login方法写在getPhoneNumber里面,否则session_key解密不了 import base64 import json from cryptography.hazmat.primitives.ciphers import Cipher, algorithms, modes APP_ID = "xxx" def decrypt(data, iv, session_key): session_key = base64.b64decod原创 2021-07-01 11:41:24 · 494 阅读 · 2 评论