diff options
author | Legrandin <gooksankoo@hoiptorrow.mailexpire.com> | 2011-12-22 14:55:40 +0100 |
---|---|---|
committer | Legrandin <gooksankoo@hoiptorrow.mailexpire.com> | 2011-12-22 14:55:40 +0100 |
commit | 114ca5b4d467617489817eee77ed0621665ee362 (patch) | |
tree | 982344b2853ada3508961cf7383a524eb2b4cbbc /Doc | |
parent | db6f4555e60b48a3b9ffa232061d460c3c18a06f (diff) | |
parent | 6fedd15136e8de6a98c46cd1d92c6e6cf2790fae (diff) | |
download | pycrypto-114ca5b4d467617489817eee77ed0621665ee362.tar.gz |
Merge from upstream
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/pycrypt.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/pycrypt.rst b/Doc/pycrypt.rst index 94f2535..9c6d770 100644 --- a/Doc/pycrypt.rst +++ b/Doc/pycrypt.rst @@ -2,7 +2,7 @@ Python Cryptography Toolkit ==================================== -**Version 2.3** +**Version 2.4.1** The Python Cryptography Toolkit describes a package containing various cryptographic modules for the Python programming language. This @@ -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(1024, 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. |