码迷,mamicode.com
首页 >  
搜索关键字:md5 hashlib    ( 4549个结果
【Windows学习】常用命令
1.查看系统的信息 msinfo32(可能不是每个系统都有) 2.查看系统 网卡 补丁等信息 systeminfo(基本每个windows 系统都有) 3.系统配置,启禁用服务/查看开机启动项/开启一些常用的系统工具 msconfig 4.计算文件的 Hash 计算文件的 sha1: certuti ...
分类:Windows程序   时间:2020-06-05 18:04:45    阅读次数:99
单线程和多线程下载文件
单线程下载文件: import requestsimport timefrom hashlib import md5def down_load_pic(url): req = requests.get(url) m = md5(url.encode()) with open(m.hexdigest( ...
分类:编程语言   时间:2020-06-03 16:01:34    阅读次数:72
zabbix简单改造为免密登陆
1.请求端 def home(request): """ 首页 """ # return render(request, 'home_application/index_home.html') bk_time = str(int(time.time())) bk_data = md5((bk_tim ...
分类:其他好文   时间:2020-06-02 13:06:05    阅读次数:144
hmac-md5
1 import java.io.UnsupportedEncodingException; 2 import java.security.MessageDigest; 3 import java.security.NoSuchAlgorithmException; 4 import java.ut ...
分类:系统相关   时间:2020-06-01 14:08:43    阅读次数:71
利用超级鹰读取图片验证码
import requestsfrom hashlib import md5class Chaojiying_Client(object): def __init__(self, username, password, soft_id): self.username = username passw ...
分类:其他好文   时间:2020-05-30 21:41:30    阅读次数:160
为了更好的多线程性能,在对象创建或者更新时,若数据大于2047字节则 Python 的 GIL 会被释放。 执行计算密集型任务如压缩或哈希时释放 GIL
hashlib — Secure hashes and message digests — Python 3.8.3 documentation https://docs.python.org/3.8/library/hashlib.html For better multithreading pe ...
分类:编程语言   时间:2020-05-29 21:46:45    阅读次数:110
hashlib模块
什么是哈希hash hash一类算法:该算法接收传入的内容,经过运算得到一串hash值 hash值的特点: 1.只要传入的内容一样,得到的hash值必然一样 >要用明文传输密码文件完整性校验 2.不能由hash值返解成内容 》把密码做成hash值,不应该在网络传输明文密码 3.只要使用的hash算法 ...
分类:其他好文   时间:2020-05-29 21:45:09    阅读次数:90
secure hashes message digests 安全哈希 消息摘要
hashlib 安全哈希与消息摘要 — Python 3.8.3 文档 https://docs.python.org/zh-cn/3.8/library/hashlib.html hashlib — Secure hashes and message digests — Python 3.8.3 ...
分类:其他好文   时间:2020-05-29 21:39:08    阅读次数:107
You shouldn't use *any* general-purpose hash function for user passwords, not BLAKE2, and not MD5, SHA-1, SHA-256, or SHA-3
hashlib — Secure hashes and message digests — Python 3.8.3 documentation https://docs.python.org/3.8/library/hashlib.html#randomized-hashing BLAKE2 ht ...
分类:其他好文   时间:2020-05-29 21:26:06    阅读次数:81
JS MD5加密(16/32位)
String.prototype.MD5 = function (bit) { var sMessage = this; function RotateLeft(lValue, iShiftBits) { return (lValue << iShiftBits) | (lValue >>> (32 ...
分类:Web程序   时间:2020-05-29 09:47:16    阅读次数:463
4549条   上一页 1 ... 16 17 18 19 20 ... 455 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!