Packagecom.hurlant.crypto.prng
Classpublic class Random
InheritanceRandom Inheritance Object



Public Methods
 MethodDefined By
  
Random(prng:Class = null)
Random
  
autoSeed():void
Gather anything we have that isn't entirely predictable: - memory used - system capabilities - timing stuff - installed fonts
Random
  
dispose():void
Random
  
nextByte():int
Random
  
nextBytes(buffer:ByteArray, length:int):void
Random
  
seed(x:int = 0):void
Random
  
toString():String
Random
Constructor Detail
Random()Constructor
public function Random(prng:Class = null)



Parameters
prng:Class (default = null)
Method Detail
autoSeed()method
public function autoSeed():void

Gather anything we have that isn't entirely predictable: - memory used - system capabilities - timing stuff - installed fonts

dispose()method 
public function dispose():void

nextByte()method 
public function nextByte():int

Returns
int
nextBytes()method 
public function nextBytes(buffer:ByteArray, length:int):void

Parameters

buffer:ByteArray
 
length:int

seed()method 
public function seed(x:int = 0):void

Parameters

x:int (default = 0)

toString()method 
public function toString():String

Returns
String