logoalt Hacker News

haileystoday at 1:38 AM1 replyview on HN

This is well understood - Hyrum's law.

You don't need encryption, a global_id database column with a randomly generated ID will do.


Replies

maxbondtoday at 1:40 AM

You could but you would lose the performance benefits you were seeking by encoding information into the ID. But you could also use a randomized, proprietary base64 alphabet rather than properly encrypting the ID.

show 2 replies