• Cocodapuf@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    2 天前

    (and because computers can’t do truly random numbers)

    Ok, well… there are good cryptographic ways of getting psudo-random numbers that are essentially just good as true random numbers.

    Also, Intel chips actually do have hardware that uses quantum effects to generate actual random numbers. I’m not sure if AMD is doing the same these days, but I wouldn’t be surprised.

    • The_Decryptor@aussie.zone
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 天前

      AMD’s supported it since 2015, but it’s not something a normal app would use anyway (They’d just ask the OS for it).

      More likely for the app to get it wrong though, generating unpredictable random numbers (Which is all you realistically need) is pretty easy, not screwing up and making them more predictable is hard.

      • Cocodapuf@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        edit-2
        1 天前

        Nice, yeah that’s basically what I thought.

        And yeah, I agree, what you do with those instructions is the tricky part.