getShortIdLength static method
Calculate the length of the shortened id.
Implementation
static int getShortIdLength(alphabetLength) =>
(log(pow(2.0, 128.0)) / log(alphabetLength.toDouble())).ceil();
Calculate the length of the shortened id.
static int getShortIdLength(alphabetLength) =>
(log(pow(2.0, 128.0)) / log(alphabetLength.toDouble())).ceil();