Python random uses the Mersenne Twister RNG, which is "completely unsuitable for cryptographic purposes." [1]
AppEngine also includes pyCrypto.randpool, but it needs access to '/ dev/random' because "if it can't get entropy from the OS, it silently produces predictable output." [2] (plus it will be deprecated) So my question is, is it possible to generate cryptographically secure random number in AppEngine? Reference ========= [1] http://docs.python.org/library/random.html [2] http://lists.dlitz.net/pipermail/pycrypto/2008q3/000000.html --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---
