summaryrefslogtreecommitdiff
path: root/Doc/pycrypt.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/pycrypt.rst')
-rw-r--r--Doc/pycrypt.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/pycrypt.rst b/Doc/pycrypt.rst
index 02234af..5551071 100644
--- a/Doc/pycrypt.rst
+++ b/Doc/pycrypt.rst
@@ -692,7 +692,7 @@ An example of using the RSA module to sign a message::
>>> from Crypto.PublicKey import RSA
>>> from Crypto import Random
>>> rng = Random.new().read
- >>> RSAkey = RSA.generate(384, rng) # This will take a while...
+ >>> RSAkey = RSA.generate(2048, rng) # This will take a while...
>>> hash = MD5.new(plaintext).digest()
>>> signature = RSAkey.sign(hash, rng)
>>> signature # Print what an RSA sig looks like--you don't really care.