public abstract class AbstractRandomIdGenID
extends Object
Base class of random id generators. The main characteristics of these generators is that they ignore the
value provided as input to the converter, which produces non reproducible random values. Using the
approximated formula from Wikipedia (http://en.wikipedia.org/wiki/Birthday_problem), (under the assumption
that the output of an HMAC is uniformly distributed) we computed that 16 hex digits provide less than 0.1%
probability of a collision in 100 * 10^6 generated ID:
hex digits = ln(-((100*10^6) * (100*10^6 - 1)) / (2 * ln(1- 0.001))) / ln(16)