LaravelBook\Laravel4Powerpack\Str::quickRandom PHP Method

quickRandom() public static method

Should not be considered sufficient for cryptography, etc.
public static quickRandom ( integer $length = 16 ) : string
$length integer
return string
    public static function quickRandom($length = 16)
    {
        $pool = '0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ';
        return substr(str_shuffle(str_repeat($pool, 5)), 0, $length);
    }