Index: t3lib/class.t3lib_userauth.php =================================================================== --- t3lib/class.t3lib_userauth.php (revision 8265) +++ t3lib/class.t3lib_userauth.php (working copy) @@ -228,7 +228,7 @@ // If new session or client tries to fix session... if (!$id || !$this->isExistingSessionRecord($id)) { // New random session-$id is made - $id = substr(md5(uniqid('').getmypid()),0,$this->hash_length); + $id = t3lib_div::getRandomHexString($this->hash_length); // New session $this->newSessionID = TRUE; } Index: typo3/sysext/install/mod/class.tx_install_eid.php =================================================================== --- typo3/sysext/install/mod/class.tx_install_eid.php (revision 8265) +++ typo3/sysext/install/mod/class.tx_install_eid.php (working copy) @@ -71,7 +71,7 @@ /** - * Main function which creates the ecryption key for the install tools AJAX call + * Main function which creates the ecryption key for the install tools AJAX call * It stores the key in $this->content * * @return void @@ -104,9 +104,8 @@ if (!headers_sent()) { header("Content-type: text/plain"); } - - $bytes = t3lib_div::generateRandomBytes($keyLength); - return substr(bin2hex($bytes), -96); + + return t3lib_div::getRandomHexString($keyLength); } /**