private function _generateCSRFToken($length=32)
    {
        $randUtils = new RandomUtils();
        $randToken = $randUtils->getBytes($length, true);
        return base64_encode($randToken);
    }
private function _generateCSRFToken($length=32)
    {
        $randUtils = new RandomUtils();
        $randToken = $randUtils->getBytes($length, true);
        return base64_encode($randToken);
    }
private function _generateCSRFToken ( $ length = 32 ) { $ randUtils = new RandomUtils ( ) ; $ randToken = $ randUtils -> getBytes ( $ length , true ) ; return base64_encode ( $ randToken ) ; }
Generate CSRF Token of given length.

@param mixed $length
@access private
@return void
Generate CSRF Token of given length .