edu.harvard.deas.hyperenc.vsat
Class DevRandomSource

java.lang.Object
  extended by edu.harvard.deas.hyperenc.vsat.TrueRandomSource
      extended by edu.harvard.deas.hyperenc.vsat.DevRandomSource

public class DevRandomSource
extends TrueRandomSource


Field Summary
 
Fields inherited from class edu.harvard.deas.hyperenc.vsat.TrueRandomSource
DATA_LENGTH
 
Constructor Summary
DevRandomSource()
           
DevRandomSource(String source)
           
 
Method Summary
 byte[] genRandomness()
          Gets a bunch of random bytes.
 void getPage(byte[] block, byte[] page)
           
static String randomDevice()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DevRandomSource

public DevRandomSource()

DevRandomSource

public DevRandomSource(String source)
Method Detail

randomDevice

public static String randomDevice()

getPage

public void getPage(byte[] block,
                    byte[] page)

genRandomness

public byte[] genRandomness()
Description copied from class: TrueRandomSource
Gets a bunch of random bytes. Takes no arguments and makes no apologies. Returns null on failure

Specified by:
genRandomness in class TrueRandomSource