src/Random.php
public static function raw($length)
    {
		$data = '';
		while(strlen($data) < $length) {
			$data .= self::getRandomBytes($length);
		}
		return substr($data, 0, $length);
    }
public static function raw($length)
    {
		$data = '';
		while(strlen($data) < $length) {
			$data .= self::getRandomBytes($length);
		}
		return substr($data, 0, $length);
    }
public static function raw ( $ length ) { $ data = '' ; while ( strlen ( $ data ) < $ length ) { $ data .= self :: getRandomBytes ( $ length ) ; } return substr ( $ data , 0 , $ length ) ; }
Gerate a string of raw random bytes

@param int $length
@return string The strng containg random bytes
Gerate a string of raw random bytes