version 1085, Tue May 6 20:47:17 2003 UTC | version 2056, Wed Apr 27 06:30:39 2005 UTC | ||
---|---|---|---|
|
|
||
import sys, os, time | import sys, os, time | ||
from whrandom import random | random = __import__('random',{}).random # from _.random import random | ||
seeded = 0 | seeded = 0 | ||
try: | try: | ||
|
|
||
def prng(nbytes): | def prng(nbytes): | ||
""" | """ | ||
A PRNG that hopefully is better than just using whrandom. | A PRNG that hopefully is better than just using random. | ||
Don't trust this for crypto, though! | Don't trust this for crypto, though! | ||
""" | """ | ||
|
cvs-admin@eby-sarna.com Powered by ViewCVS 1.0-dev |
ViewCVS and CVS Help |