crypto.py 文件源码

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

项目:ethereum-bip44-python 作者: michailbrynard 项目源码 文件源码
def from_b58check(key):
        """ Decodes a Base58Check encoded key.

        The encoding must conform to the description in:
        https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#serialization-format

        Args:
            key (str): A Base58Check encoded key.

        Returns:
            HDPrivateKey or HDPublicKey:
                Either an HD private or
                public key object, depending on what was serialized.
        """
        return HDKey.from_bytes(base58.b58decode_check(key))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号