4 ms·
Hashids sounds like hashing but it‘s just encoding and decoding the values. I shared that approach in the article. They have the drawback that you always need t
by tpetry 4y ago
Hashids sounds like hashing but it‘s just encoding and decoding the values. I shared that approach in the article. They have the drawback that you always need to decode manually the url when you e.g. want to lookup a record from an URL.
- CharlesW 4y ago> They have the drawback that you always need to decode manually the url when you e.g. want to lookup a record from an URL. Do you? Why not just also store the hashid in the row as an “external ID”?