Hi, A piece of code I write far too often is:
====== public static byte[] getRandomBytes(int length) { // validate length is non-negative byte[] result = new byte[length]; RANDOM.nextBytes(result); return result; } ====== Is there a place for something like this in Commons Lang? Or, better, does this already exist in another commons project? Duncan --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org For additional commands, e-mail: dev-h...@commons.apache.org