Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library

Comment by function_seven

1 year ago

They're not randomly generated. They're generated using a Feistel cipher. [1]

He's ensuring the uniqueness by indexing from 0, and applying the cipher to come up with a more "random" looking UUID.

[1] https://eieio.games/blog/writing-down-every-uuid/#toc:feiste...

0 comments

function_seven

Reply

No comments yet

Contribute on Hacker News ↗

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities