stir in some microtime to the PHP MT seed
This commit is contained in:
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…
x
Reference in New Issue
Block a user