[Subversion] / PEAK / src / peak / util / random.py  

Diff of /PEAK/src/peak/util/random.py

Parent Directory | Revision Log

version 1085, Tue May 6 20:47:17 2003 UTC version 2056, Wed Apr 27 06:30:39 2005 UTC
Line 5 
Line 5 
   
   
 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:
Line 82 
Line 82 
   
 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!
     """      """
   


Generate output suitable for use with a patch program
Legend:
Removed from v.1085  
changed lines
  Added in v.2056

cvs-admin@eby-sarna.com

Powered by ViewCVS 1.0-dev

ViewCVS and CVS Help