Make WordPress Core

Timestamp:
10/08/2015 12:01:26 AM (9 years ago)
Author:
dd32
Message:

Use PHP7's random_int() CSPRNG functionality in wp_rand() with a fallback to the random_compat library for PHP 5.x.
random_compat offers a set of compatible functions for older versions of PHP, filling in the gap by using other PHP extensions when available.
We still include our existing wp_rand() functionality as a fallback for when no proper CSPRNG exists on the system.

Props sarciszewski
See #28633

Location:
trunk/src/wp-includes/random_compat
Files:
2 added

Note: See TracChangeset for help on using the changeset viewer.