openssl_random_pseudo_bytes() is slow (PHP)

后端 未结 3 1331
情书的邮戳
情书的邮戳 2021-02-15 09:52

I\'m using opennssl_random_pseudo_bytes() in PHP and it is performing ultra slowly. My application often timeouts (throws that execution time limit error). Is there a particular

3条回答
  •  温柔的废话
    2021-02-15 10:42

    This was apparently a bug in PHP < 5.3.4.

    Fixed possible blocking behavior in openssl_random_pseudo_bytes on Windows. (Pierre)

    http://php.net/ChangeLog-5.php#5.3.4

提交回复
热议问题