Project

General

Profile

Bug #19866 » 10204_4-1.diff

Administrator Admin, 2009-01-20 19:28

View differences:

t3lib/class.t3lib_div.php (working copy)
* @param integer Number of characters (bytes) to return
* @return string Random Bytes
*/
public static function generateRandomBytes($count) {
function generateRandomBytes($count) {
$output = '';
// /dev/urandom is available on many *nix systems and is considered
// the best commonly available pseudo-random source.
(2-2/2)