- // PRIVATE METHODS
- //
-
- /**
- * Generates a new random ID, consisting of 16 random bytes converted to a
- * hexadecimal number.
- *
- * @return The new ID
- */
- private static String generateId() {
- byte[] idBytes = new byte[16];
- random.nextBytes(idBytes);
- return Hex.toHex(idBytes);
- }
-
- //