--- includes/common.inc 2010-04-04 23:13:29.458069021 +0530 +++ includes/common.inc.new 2010-04-04 23:12:17.949071235 +0530 @@ -4190,7 +4190,7 @@ function drupal_random_bytes($count) { static $random_state; // We initialize with the somewhat random PHP process ID on the first call. if (empty($random_state)) { - $random_state = getmypid(); + $random_state = mt_rand(0, 32000); } $output = ''; // /dev/urandom is available on many *nix systems and is considered the best