3 ms·
Use sequential IDs, but run them through a maximal linear feedback shift register. They will be in a deterministic order, but will appear semi-random to the en
by ars 3y ago
Use sequential IDs, but run them through a maximal linear feedback shift register.
They will be in a deterministic order, but will appear semi-random to the end user.
For things like product IDs or user IDs, etc you don't actually need them to be random. But perhaps you don't want them to simply start counting sequentially.