![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
数据加密
sc_Pease
安全测试小白
展开
-
python:身份证号rsa加密耗费时间
import rsa import time message='123456789012345678' key_pub ,key_pri = rsa.newkeys(1024) def rsaEncrypt(message): content = message.encode('utf-8') crypto=base64.b64encode(rsa.encrypt(content,key_pub)) text=crypto.decode('utf-8') return .原创 2021-05-07 14:46:55 · 427 阅读 · 0 评论 -
使用Python实现数据加密
0.环境 使用pycharm社区版,先安装上flask框架,配置请参考https://jingyan.baidu.com/article/8275fc86daef4307a13cf65d.html 1、原创 2021-05-07 14:38:41 · 1066 阅读 · 0 评论