diff options
author | Dwayne C. Litzenberger <dlitz@dlitz.net> | 2011-12-04 01:02:22 -0500 |
---|---|---|
committer | Dwayne C. Litzenberger <dlitz@dlitz.net> | 2011-12-04 01:02:22 -0500 |
commit | 6fedd15136e8de6a98c46cd1d92c6e6cf2790fae (patch) | |
tree | d3450cea10731f3c649732354ce1b0e45ed90f7a | |
parent | d2170a4080b744de25f5586c3c6f1667963c8119 (diff) | |
download | pycrypto-6fedd15136e8de6a98c46cd1d92c6e6cf2790fae.tar.gz |
Don't suggest the use of 384-bit RSA keys (!) in the docs.
-rw-r--r-- | Doc/pycrypt.rst | 2 |
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. |