breakingcmd: transferhelp wantedsecurity
仓库指标
- 星标
- (10,086 个星标)
- PR 合并指标
- (平均合并 5天 12小时) (30 天内合并 91 个 PR)
描述
This is from master branch (same in 1.4-maint):
def blake2b_256(key, data):
return hashlib.blake2b(key+data, digest_size=32).digest()
It is one of the chunkid hashes borg uses.
The usage there is unusual, the python docs rather suggest:
def blake2b_256(key, data):
return hashlib.blake2b(data, key=key, digest_size=32).digest()