4 ms·
I’ve used this trick with a 64-bit block cipher (base-32 encoding the result) to generate short, unique public identifiers (to put in URLs) for entries in a dat
by justicz 7y ago
I’ve used this trick with a 64-bit block cipher (base-32 encoding the result) to generate short, unique public identifiers (to put in URLs) for entries in a database based on an integer primary key.
- garganzol 7y agoThere is also Skip32 cipher for 32-bit values. Interestingly enough, it was initially designed to cover the scenarios like yours.