diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-04-20 10:25:48 -0500 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2014-04-20 16:53:04 -0500 |
commit | 8e764396471beb13d0cdfbc9a299b9445f96abb2 (patch) | |
tree | 2e4ee7f670cd5de0da24929453d67900728223e1 /docs | |
parent | 8ab7a360330daa195ea1c0cf70d606dc7dce88c8 (diff) | |
download | cryptography-8e764396471beb13d0cdfbc9a299b9445f96abb2.tar.gz cryptography-8e764396471beb13d0cdfbc9a299b9445f96abb2.tar.bz2 cryptography-8e764396471beb13d0cdfbc9a299b9445f96abb2.zip |
more key length checks, docs update
Diffstat (limited to 'docs')
-rw-r--r-- | docs/hazmat/primitives/asymmetric/rsa.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/hazmat/primitives/asymmetric/rsa.rst b/docs/hazmat/primitives/asymmetric/rsa.rst index aef15691..c282d9ef 100644 --- a/docs/hazmat/primitives/asymmetric/rsa.rst +++ b/docs/hazmat/primitives/asymmetric/rsa.rst @@ -120,7 +120,7 @@ RSA .. versionadded:: 0.4 - Decrypt data that was encrypted via the public key. + Decrypt data that was encrypted with the public key. :param bytes ciphertext: The ciphertext to decrypt. @@ -251,7 +251,7 @@ If you are trying to load RSA private keys yourself you may find that not all parameters required by ``RSAPrivateKey`` are available. In particular the `Chinese Remainder Theorem`_ (CRT) values ``dmp1``, ``dmq1``, ``iqmp`` may be missing or present in a different form. For example `OpenPGP`_ does not include -the ``iqmp``, ``dmp1`` or ``dmq1`` parameters. +the ``iqmp``, ``dmp1`` or ``dmq1`` parameters. The following functions are provided for users who want to work with keys like this without having to do the math themselves. @@ -271,7 +271,7 @@ this without having to do the math themselves. ``p``. .. function:: rsa_crt_dmq1(private_exponent, q) - + .. versionadded:: 0.4 Generates the ``dmq1`` parameter from the RSA private exponent and prime |