bcrypt.py 文件源码

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

项目:Sudoku-Solver 作者: ayush1997 项目源码 文件源码
def _norm_checksum(self, checksum):
        checksum = super(bcrypt, self)._norm_checksum(checksum)
        if not checksum:
            return None
        changed, checksum = bcrypt64.check_repair_unused(checksum)
        if changed:
            warn(
                "encountered a bcrypt hash with incorrectly set padding bits; "
                "you may want to use bcrypt.normhash() "
                "to fix this; see Passlib 1.5.3 changelog.",
                PasslibHashWarning)
        return checksum

    #===================================================================
    # primary interface
    #===================================================================
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号