• @[email protected]
    link
    fedilink
    English
    1718 hours ago

    I’m worried about relying on remote servers for random numbers, especially for cryptographic purposes. There’s no way to verify that you aren’t the only person with access to those numbers, and it’s fairly difficult even as the sysadmin to ensure that they’re logged nowhere.

    • @[email protected]
      link
      fedilink
      English
      59 hours ago

      the trick is to combine all your uncertainty sources together. So in the worst case your numbers still have as much entropy as if you did not have the external source. And even if somebody else knows those numbers they do not know the actual numbers you are using. Of course that raises the question: if your other entropy source is good enough that you are happy in your worst case what is the benefit from some extra source of entropy? So i have argued myself into agreeing with you :) crypto is not a good use case for such a service. The wall of lavalamps mentioned above is a better solution.

  • Ephera
    link
    fedilink
    English
    921 hours ago

    Excuse me, I believe, you mean qu\ntumr\ndomnumbers. You see, it’s the Windows path equivalent of /dev/random.

  • fxomt
    link
    fedilink
    English
    49
    edit-2
    15 hours ago
    int getRandomNumber() {
     return 4; // chosen by a fair dice roll. guaranteed to be random.
    }
    
    • @reinei
      link
      715 hours ago

      Wasn’t it a dice roll that decided that? 🤔

      • fxomt
        link
        fedilink
        English
        615 hours ago

        yeah, i copied the xkcd wrong 🤦‍♂️ thanks, i’ll edit it