001    package edu.harvard.deas.hyperenc.vsat;
002    
003    
004    /** True random source abstract */
005    abstract public class TrueRandomSource
006    {
007      /**
008       * The number of bytes of random data that are returned by
009       * <code>genRandomness</code>.
010       */
011      public static final int DATA_LENGTH = 4096;
012      
013      /** Gets a bunch of random bytes.  Takes no arguments and makes no apologies.
014       *  Returns null on failure
015       */
016      abstract public byte[] genRandomness();
017    }