diff options
author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-04-21 12:53:47 -0700 |
---|---|---|
committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-04-21 12:53:47 -0700 |
commit | 30752cdde9c149ede7c3eec5aea4e72944d99ac4 (patch) | |
tree | 46bad2831d88981e1232ff831721a33924a85076 /docs/hazmat/primitives/asymmetric/padding.rst | |
parent | 30bb5941489c7a0b1c24ca546e8f253c97a3a318 (diff) | |
parent | 8e764396471beb13d0cdfbc9a299b9445f96abb2 (diff) | |
download | cryptography-30752cdde9c149ede7c3eec5aea4e72944d99ac4.tar.gz cryptography-30752cdde9c149ede7c3eec5aea4e72944d99ac4.tar.bz2 cryptography-30752cdde9c149ede7c3eec5aea4e72944d99ac4.zip |
Merge pull request #888 from reaperhulk/rsa-decrypt
RSA PKCS1v15 Decryption Support
Diffstat (limited to 'docs/hazmat/primitives/asymmetric/padding.rst')
-rw-r--r-- | docs/hazmat/primitives/asymmetric/padding.rst | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/hazmat/primitives/asymmetric/padding.rst b/docs/hazmat/primitives/asymmetric/padding.rst index 89af7eaa..f33ca4e2 100644 --- a/docs/hazmat/primitives/asymmetric/padding.rst +++ b/docs/hazmat/primitives/asymmetric/padding.rst @@ -19,7 +19,8 @@ Padding PSS (Probabilistic Signature Scheme) is a signature scheme defined in :rfc:`3447`. It is more complex than PKCS1 but possesses a `security proof`_. - This is the `recommended padding algorithm`_ for RSA signatures. + This is the `recommended padding algorithm`_ for RSA signatures. It cannot + be used with RSA encryption. :param mgf: A mask generation function object. At this time the only supported MGF is :class:`MGF1`. @@ -37,7 +38,8 @@ Padding .. versionadded:: 0.3 PKCS1 v1.5 (also known as simply PKCS1) is a simple padding scheme - developed for use with RSA keys. It is defined in :rfc:`3447`. + developed for use with RSA keys. It is defined in :rfc:`3447`. This padding + can be used for signing and encryption. Mask generation functions ~~~~~~~~~~~~~~~~~~~~~~~~~ |