irungentoo/ProjectTox-Core — pull request #78 by redwire (2013-07-21 21:12:31+00:00)
Title: Implemented a faster algorithm for generating nonces

I have done a demo of an algorithm I thought up for generating random nonces in Python so I could generate a graph with matplotlib to show performance comparisons. See it at: http://goput.it/puye.png
Basically works by cutting the number of random numbers generated down to a third of the original, and slices sections of the full 32-bit int generated to get the smaller single-byte values.