src/Session.php
public function generateCsrfToken() {
		$token = hash("sha512", mt_rand(0, mt_getrandmax()));
		$_SESSION[$this->csrfTokenSessionKey] = $token;
		return $token;
	}
public function generateCsrfToken() {
		$token = hash("sha512", mt_rand(0, mt_getrandmax()));
		$_SESSION[$this->csrfTokenSessionKey] = $token;
		return $token;
	}
public function generateCsrfToken ( ) { $ token = hash ( "sha512" , mt_rand ( 0 , mt_getrandmax ( ) ) ) ; $ _SESSION [ $ this -> csrfTokenSessionKey ] = $ token ; return $ token ; }
Generate CSRF token.

@return string
Generate CSRF token .