stir in some microtime to the PHP MT seed

master
Marek Isalski 9 years ago
parent 9616428995
commit 44b06385a6

@ -3,6 +3,8 @@
function fulcrm_uuid_stir_mt_srand() {
$e1 = variable_get( 'fulcrm_uuid_entropy_1', '' );
mt_srand( crc32( $e1 ) );
if ( function_exists( 'microtime' ) )
mt_srand( crc32( microtime() ) );
}
function fulcrm_uuid_stir_entropy() {

Loading…
Cancel
Save