You can generate secure random numbers on AppEngine via os.urandom(n) to get n-bytes suitable for cryptographic use. Try it on shell.appspot.com
This issue http://code.google.com/p/googleappengine/issues/detail?id=1055 has more details, especially comments #1 and #4 from a Googler way back in 2009. It appears the GAE implementation of os.urandom is designed for cryptographic use, though there is absolutely no documentation (apart from the comment thread on the issue). Without knowing the details of the GAE implementation, it is hard to tell if it will suit your needs. saidimu On Mon, Mar 14, 2011 at 6:59 PM, Dave Peck <davep...@gmail.com> wrote: > Can someone on the App Engine team comment on whether Crypto.Random >> will ever be available? >> > Did you try to include your own PyCrypto version? > > > No, because you can't. PyCrypto requires native code, and thus must be > supported directly by the App Engine team. > > App Engine *does* provide PyCrypto on production, but it does *not*provide > the Crypto.Random submodule. > > Thus my question: might we ever expect to see it? > > Thanks, > Dave > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to google-appengine@googlegroups.com. > To unsubscribe from this group, send email to > google-appengine+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appengine@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.