3 ms·
People really overthink this. You can safely expose internal IDs by doing a symmetric cipher, like a Feistel cipher. Even sequential IDs will appear random.
by xienze 1y ago
People really overthink this. You can safely expose internal IDs by doing a symmetric cipher, like a Feistel cipher. Even sequential IDs will appear random.
- whiskey-one 1y agoLooks easy on the surface, but the problem is key rotation.
- morshu9001 1y agoI didn't know about this problem but was already thinking it sounds even harder. And the resulting IDs are probably quite large.