【文件属性】:
文件名称:hlextend:纯Python哈希长度扩展模块
文件大小:9KB
文件格式:ZIP
更新时间:2021-05-10 05:27:47
Python
扩展
纯Python哈希长度扩展模块。
当前支持SHA1,SHA256和SHA512,将来会添加更多算法。
通过调用命名的构造函数之一sha1(),sha256()和sha512()或调用new(algorithm)来创建哈希。
哈希对象具有以下方法:
hash(message):
Feeds data into the hash function using the normal interface.
extend(appendData, knownData, secretLength, startHash, raw=False):
Performs a hash length extension attack. Returns the string to
use when appending data.
hexdigest():
【文件预览】:
hlextend-master
----README.md(2KB)
----COPYRIGHT.txt(1KB)
----hlextend.py(16KB)
----hlextend_testscript.py(3KB)