Fork me on GitHub
Subscribe 1

Ticket #1081 (open enhancement)

openssl_random_pseudo_bytes() is not cryptographically secure

  • Created: 2016-02-24 02:52:09
  • Reported by: Visman
  • Assigned to: None
  • Milestone: None
  • Component: security
  • Priority: normal

srand.php

   if (function_exists('openssl_random_pseudo_bytes') && 
       (version_compare(PHP_VERSION, '5.3.4') >= 0 || 

But the bug has been fixed in version 5.6.10 only https://bugs.php.net/bug.php?id=70014