code: public static final byte[] generateBytes(final Random rand, final int bytes)
  	{
  		if (bytes < 1)
  			throw new IllegalArgumentException("bytes must be >= 1");
  
  		final byte[] buffer = new byte[bytes];
  		rand.nextBytes(buffer);
  		return buffer;
  	}
docs: Generates a number of random bytes which can then be manipulated and/or converted to hex<br />
  
  @param RANDOM
  the random number generator to use
  @param bytes
  
  @return