NuParserv004.py 文件源码

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

项目:NuExplorerOS 作者: JetJet13 项目源码 文件源码
def computeBlockHash(rawHash):

    initial_step = "0x" + rawHash
    primary_step = BitArray(initial_step)
    step0 = primary_step.bytes

    step1 = hashlib.sha256(step0)
    step2 = step1.digest()

    step3 = hashlib.sha256(step2)
    step4 = step3.hexdigest()

    step5 = "0x" + step4 
    step6 = BitArray(step5)

    step7 = hexHashReverser(step6)
    return step7
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号