@Override
        public int hashCode() {
            return id.hashCode();
        }
The random number to use, someone with Java can predict stream IDs if they can guess the current seed
xmppserver/src/main/java/org/jivesoftware/openfire/spi/BasicStreamIDFactory.java