910111213141516171819
PRNG prng = PRNG.getInstance(); byte buffer[] = new byte[40]; prng.nextBytes(buffer, 0, buffer.length); for(int i = 0; i != buffer.length; ++i) { // There must be an easier way to do this (right?) int intval = buffer[i];