Page MenuHomeDevCentral

Generate n characters string from m bits
Closed, ResolvedPublic


In rKOT Random class, could we implement a method to generate an bits array with some arbitrary length (or a bytes array, if it eases convert), and another one to use the first then converting that in an ASCII string (Base64 could be a nice way)?

Reference and idea:

That will allow to migrate to more compact identifiers than uuid, and get an arbitrary amount of bytes instead of the uuid 16.