Bug #22369 » 13989_4-3_trunk_v3-usage.diff
t3lib/class.t3lib_userauth.php (working copy) | ||
---|---|---|
* @return string The new session ID
|
||
*/
|
||
public function createSessionId() {
|
||
return substr(md5(uniqid('') . getmypid()), 0, $this->hash_length);
|
||
return t3lib_div::getRandomHexString($this->hash_length);
|
||
}
|
||
typo3/sysext/install/mod/class.tx_install_ajax.php (working copy) | ||
---|---|---|
header("Content-type: text/plain");
|
||
}
|
||
$bytes = t3lib_div::generateRandomBytes($keyLength);
|
||
return substr(bin2hex($bytes), -96);
|
||
return t3lib_div::getRandomHexString($keyLength);
|
||
}
|
||
/**
|