crypto.py 文件源码

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

项目:delta-sdk-python 作者: Covata 项目源码 文件源码
def generate_private_key():
    """
    Generates a :class:`~rsa.RSAPrivateKey` object. The public key object can be
    extracted by calling public_key() method on the generated key object.

    :return: the generated private key object
    :rtype: :class:`~rsa.RSAPrivateKey`
    """
    return rsa.generate_private_key(public_exponent=65537,
                                    key_size=4096,
                                    backend=default_backend())
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号