aboutsummaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2014-04-03 07:49:07 -0700
committerAlex Gaynor <alex.gaynor@gmail.com>2014-04-03 07:49:07 -0700
commit21e7f13db833f5be1fe8187dfde04549e921a379 (patch)
treef57fa97d28fc63e1e2d9bce8f004a6c7d96d34f1 /docs
parent5b2bf921d3c99035c2fe7a639af22dd267fbd0ad (diff)
parent7a574e75d546abc820e377a62adc657bc6b2a599 (diff)
downloadcryptography-21e7f13db833f5be1fe8187dfde04549e921a379.tar.gz
cryptography-21e7f13db833f5be1fe8187dfde04549e921a379.tar.bz2
cryptography-21e7f13db833f5be1fe8187dfde04549e921a379.zip
Merge pull request #886 from skeuomorf/rsa-docs
Remove 'Must be at least 512.' statement from RSA's docs
Diffstat (limited to 'docs')
-rw-r--r--docs/hazmat/primitives/asymmetric/rsa.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/hazmat/primitives/asymmetric/rsa.rst b/docs/hazmat/primitives/asymmetric/rsa.rst
index 182e35d2..5c554abc 100644
--- a/docs/hazmat/primitives/asymmetric/rsa.rst
+++ b/docs/hazmat/primitives/asymmetric/rsa.rst
@@ -42,9 +42,9 @@ RSA
Usually one of the small Fermat primes 3, 5, 17, 257, 65537. If in
doubt you should `use 65537`_.
:param int key_size: The length of the modulus in bits. For keys
- generated in 2014 this should be `at least 2048`_. (See page 41.)
- Must be at least 512. Some backends may have additional
- limitations.
+ generated in 2014 it is strongly recommended to be
+ `at least 2048`_ (See page 41). It must not be less than 512.
+ Some backends may have additional limitations.
:param backend: A
:class:`~cryptography.hazmat.backends.interfaces.RSABackend`
provider.