bbs98.py 文件源码

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

项目:nucypher-kms 作者: nucypher 项目源码 文件源码
def decrypt(self, priv, emsg, padding=True):
        # This is non-optimal b/c of double-deserialization
        # but this cipher is for development/tests, not production
        # so be it
        emsg_l = msgpack.loads(emsg)
        if emsg_l[0] == 2:
            _, epriv_to, emsg = emsg_l
            priv_to = self.decrypt(priv, epriv_to)
            priv = priv_to
        return super(PRE, self).decrypt(
                convert_priv(priv), emsg, padding=padding)
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号