Monday 13 January 2020

Generate consistent hash of a UUID

I want to generate a consistent hash of a UUID string such as dcc549d8-bd0c-49c2-bff8-f6fa80fb7857, preferably a number between 0 to N.

What is the best and fastest way to do it?

Update: I am thinking of using CRC32. Any pros/cons of it?



from Generate consistent hash of a UUID

No comments:

Post a Comment