public Random(byte[] randomBytes){
  if (randomBytes == null) {
    throw new NullPointerException("Random bytes must not be null");
  }
 else   if (randomBytes.length != 32) {
    throw new IllegalArgumentException("Random bytes array's length must be 32");
  }
 else {
    this.randomBytes=Arrays.copyOf(randomBytes,randomBytes.length);
  }
}

public Random ( byte [ ] randomBytes ) { if ( randomBytes == null ) { throw new NullPointerException ( "Random bytes must not be null" ) ; } else if ( randomBytes . length != 32 ) { throw new IllegalArgumentException ( "Random bytes array's length must be 32" ) ; } else { this . randomBytes = Arrays . copyOf ( randomBytes , randomBytes . length ) ; } }
sets the random bytes explicitly .
