openssl_random_pseudo_bytes() is slow (PHP)

后端 未结 3 597
萌比男神i
萌比男神i 2021-02-15 09:55

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:52

    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

提交回复
热议问题