News for hackers. Stuff that matters.
Re:Ask HN: What is the best way to use a URL shortener for m... by solardev on Friday August 30, 2024 @01:23PM (#41402756)
It would be easier just to use a longer hash with fewer chances of collisions.

In the past, for non cryptographic uses, I've also just appended two hash algorithms one after the other, figuring that the same collision between two algorithms would be exceedingly improbable.

There are no comments on this comment yet.