Skip to content

Commit

Permalink
Don't suggest the use of 384-bit RSA keys (!) in the docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlitz committed Dec 4, 2011
1 parent d2170a4 commit 6fedd15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/pycrypt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 6fedd15

Please sign in to comment.