ByteArraySequence (final Random rnd) { final byte[] hash = new byte[ContentHashEnumerator.SIGNATURE_LENGTH]; for (int i = 0; i < hash.length; i++) { hash[i] = (byte)rnd.nextInt(Byte.MIN_VALUE, Byte.MAX_VALUE + 1); } return new ByteArraySequence(hash); }