Can I generate authentic random number with python?

前端 未结 4 1182
花落未央
花落未央 2020-12-06 07:12

I\'m learning random module of python. And I know it generates pseudo random number. Which its core idea is to use a high-frequency clock as a seed and then use a function t

4条回答
  •  感动是毒
    2020-12-06 07:48

    https://www.random.org/integers/
    https://api.random.org/json-rpc/1/

    This website generates random numbers through atmospheric white noise, which is better than pseudo random numbers for use with development, You can also use there API for automated random numbers (Though it won't be free for long as it's currently in beta.)

    Another method of obtaining true random numbers is through the quantum random number generator, http://photonics.anu.edu.au/qoptics/Research/qrng.php.

    To reiterate what someone said earlier, you should avoid using computationally made pseudo random numbers for security purposes.

提交回复
热议问题