Re:Ask HN: What is with the new URLs on facebook.com?
by omegalulw on Saturday July 16, 2022 @04:23PM
(#32121612)
Not really. pbfid needn't be a hash. You can take the plain text url, which can be ".../random.user/post/post_number", happened a random salt, and encrypt it using a key which is a function of "f(random.user)". That way you get unique encodings for each shared URL and every time you decrypt just discard the random bit. Defeats all pooling/reverse engineering efforts and offers perfect user isolation (each user has their own key).
[ Parent
| on HN ]
There are no comments on this comment yet.