Which is more random: human- or software-generated number?

前端 未结 7 1328
温柔的废话
温柔的废话 2021-01-13 12:16

Does it toss a coin to get random bit?
Or throw a die to get a random integer from 1 to 6?
Or take a car

7条回答
  •  执念已碎
    2021-01-13 13:06

    See Joeys answer. There also exist hardware random generators which use some physical process to produce nouse and which can be plugged into your computer to be used for "true" random number generation (in the mathematical sense, the "true" is superfluous").

    Under Unix-likes, such devices could be queried at /dev/random and /dev/urandom.

    For an online example, see http://www.random.org/ .

    Also make sure to have a look at http://en.wikipedia.org/wiki//dev/random.

提交回复
热议问题