diff Python/random.c @ 86108:b0295cc736d8

merge with 3.3
author Georg Brandl <georg@python.org>
date Sun, 06 Oct 2013 18:48:30 +0200
parents acc7439b1406 176bb5a98463
children baab11a466ab
line wrap: on
line diff
--- a/Python/random.c	Sun Oct 06 18:37:30 2013 +0200
+++ b/Python/random.c	Sun Oct 06 18:48:30 2013 +0200
@@ -218,8 +218,9 @@
     }
 }
 
-/* Fill buffer with size pseudo-random bytes, not suitable for cryptographic
-   use, from the operating random number generator (RNG).
+/* Fill buffer with size pseudo-random bytes from the operating system random
+   number generator (RNG). It is suitable for for most cryptographic purposes
+   except long living private keys for asymmetric encryption.
 
    Return 0 on success, raise an exception and return -1 on error. */
 int