vendorize.py 文件源码

python
阅读 17 收藏 0 点赞 0 评论 0

项目:PiZeroWallet 作者: jake-b 项目源码 文件源码
def sha256_checksum(filename, block_size=65536):
    sha256 = hashlib.sha256()
    with open(filename, 'rb') as f:
        for block in iter(lambda: f.read(block_size), b''):
            sha256.update(block)
    return sha256.hexdigest()

# quick and dirty function to parse the Packages file and store the result int he packages dict
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号