Pseudo random tree to generate string tokens. Token contains upper-case and lower-case latin characters and digits. Characters 'l', 'o' and 'O' excluded. No same adjacent characters.
Tree
seed
random tree seeddepth
represents com.beepbell.token length
Counter (optional)
pos
(default0
) id of the com.beepbell.token. Two trees with sameseed
anddepth
returns samecom.beepbell.token
, when counter is in the samepos
step
(default1
) increment pos each timeTokenService
returns com.beepbell.tokenrolling
(defaultfalse
) when set totrue
, resetpos
in case it overflows tree size. Whenfalse
throws exceptioninit
(default0
)pos
new value after overflow