protected function genHash($data, $nonce) {
		$token = $this->getConfig()->getStorage()->getAccessToken()->getAccessToken();
		return sha1(urlencode($data) . $this->getConfig()->getAppId() . urlencode(sha1($token)) . urlencode($nonce) . $this->getConfig()->getAppSecret() . $token);
	}
protected function genHash($data, $nonce) {
		$token = $this->getConfig()->getStorage()->getAccessToken()->getAccessToken();
		return sha1(urlencode($data) . $this->getConfig()->getAppId() . urlencode(sha1($token)) . urlencode($nonce) . $this->getConfig()->getAppSecret() . $token);
	}
protected function genHash ( $ data , $ nonce ) { $ token = $ this -> getConfig ( ) -> getStorage ( ) -> getAccessToken ( ) -> getAccessToken ( ) ; return sha1 ( urlencode ( $ data ) . $ this -> getConfig ( ) -> getAppId ( ) . urlencode ( sha1 ( $ token ) ) . urlencode ( $ nonce ) . $ this -> getConfig ( ) -> getAppSecret ( ) . $ token ) ; }
Generating the required hash value from the data, nonce and the other information that is nearly static
@param string $data
@param string $nonce
@return string
Generating the required hash value from the data nonce and the other information that is nearly static