Could a truly random number be generated using pings to pseudo-randomly selected IP addresses?

后端 未结 23 1633
天命终不由人
天命终不由人 2021-01-30 16:28

The question posed came about during a 2nd Year Comp Science lecture while discussing the impossibility of generating numbers in a deterministic computational device.

Th

23条回答
  •  遥遥无期
    2021-01-30 16:48

    Eh, I find that this kind of question leads into discussions about the meaning of 'truly random' pretty quickly.

    I think that measuring pings would yield decent-quality random bits, but at an insufficient rate to be of much use (unless you were willing to do some serious DDOSing).

    And I don't see that it would be any more random than measuring analogue/mechanical properties of the computer, or the behaviour of the meatbag operating it.

    (edit) On a practical note, this approach opens you up to the possibility of someone on your network manipulating your 'random' number generator.

提交回复
热议问题