2 ms·
How do you think the token is generated if not through an encoding process? Other disadvantage I forgot to mention earlier: base58 is variable length, which is
by adastra22 5y ago
How do you think the token is generated if not through an encoding process?
Other disadvantage I forgot to mention earlier: base58 is variable length, which is a foot gun that will bite you eventually.
- formerly_proven 5y agoUsing base58 here strikes me as simply unnecessary. You could just use the base58 alphabet and directly generate random strings in that alphabet, easily and cheaply. The only thing you loose is the ability to decode into a bit shorter binary string for storage - almost certainly not worth it.