3 ms·
For some services, your growth may not be proprietary info — you may want to show incrementing IDs off, or make all your artifacts trivially discoverable. But,
by gojomo 16y ago
For some services, your growth may not be proprietary info — you may want to show incrementing IDs off, or make all your artifacts trivially discoverable.
But, if you have an internal autoincrement ID that you want to obfuscate, what's the best simple practice, minimizing token expansion?
- smanek 16y agoJust use UUIDs and be done with it. I'll give you a $1 if you ever see a collision ;-)
- gojomo 16y agoThat's a reasonable baseline suggestion, but I'd prefer any technique to generate more compact public IDs.
- buddydvd 16y agohttp://www.quora.com/How-do-you-symmetrically-encrypt-32-bit-auto-increment-IDs-to-avoid-using-64-bit-UUIDs-to-conceal-the-size-and-order-of-a-database-table/answers/23925 http://www.quora.com/How-do-you-symmetrically-encrypt-32-bit...