• tburkhol@lemmy.world
      link
      fedilink
      arrow-up
      2
      ·
      9 months ago

      crypto - as in cryptography, not cryptocurrency - is just the library he’s using to generate the 128-bit random UUID. The snippet is interesting because he matched the original UUID in just over 5 hours. You’d expect to need more than 10^38 guesses to pick the same number again, which, even at 1 guess every microsecond, means something like 10^22 years.

      • vogi@piefed.social
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        9 months ago

        Sorry, I forgot to add the /s.

        But thank you for the calculations, it’s actually interesting :) I was thinking about that myself, but didn’t bother to do the math.

        I thought its reminiscent of cryptomining as it also consist of guessing an arbitrary number just for fun.

      • NeatNit@discuss.tchncs.de
        link
        fedilink
        arrow-up
        1
        ·
        9 months ago

        I wanted to downvote you for failing to pick up on the sarcasm, but then you went and did all that math that I was too lazy to do and I ended up upvoting you instead. Damn you!