gpt4 book ai didi

algorithm - 是否有任何无法揭示其模式的随机数生成算法?

转载 作者:塔克拉玛干 更新时间:2023-11-03 06:22:30 26 4
gpt4 key购买 nike

有没有可能创造出即使宇宙终结也永远不会重复获取下一个随机数的模式的随机数。

最佳答案

我阅读了这条安全经验法则:

All processes which require non-trivial random numbers MUST attempt to use openssl_pseudo_random_bytes(). You MAY fallback to mcrypt_create_iv() with the source set to MCRYPT_DEV_URANDOM. You MAY also attempt to directly read bytes from /dev/urandom. If all else fails, and you have no other choice, you MUST instead generate a value by strongly mixing multiple sources of available random or secret values.

http://phpsecurity.readthedocs.org/en/latest/Insufficient-Entropy-For-Random-Values.html

关于algorithm - 是否有任何无法揭示其模式的随机数生成算法?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31608910/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com