protected function decrypt($response)
    {
        $hash_string = '';
        $hash_string .= $response['TxId'];
        $hash_string .= $response['TxStatus'];
        $hash_string .= $response['amount'];
        $hash_string .= $response['pgTxnNo'];
        $hash_string .= $response['issuerRefNo'];
        $hash_string .= $response['authIdCode'];
        $hash_string .= $response['firstName'];
        $hash_string .= $response['lastName'];
        $hash_string .= $response['pgRespCode'];
        $hash_string .= $response['addressZip'];


        return hash_hmac('sha1', $hash_string, $this->secretKey);

    }
protected function decrypt($response)
    {
        $hash_string = '';
        $hash_string .= $response['TxId'];
        $hash_string .= $response['TxStatus'];
        $hash_string .= $response['amount'];
        $hash_string .= $response['pgTxnNo'];
        $hash_string .= $response['issuerRefNo'];
        $hash_string .= $response['authIdCode'];
        $hash_string .= $response['firstName'];
        $hash_string .= $response['lastName'];
        $hash_string .= $response['pgRespCode'];
        $hash_string .= $response['addressZip'];


        return hash_hmac('sha1', $hash_string, $this->secretKey);

    }
protected function decrypt ( $ response ) { $ hash_string = '' ; $ hash_string .= $ response [ 'TxId' ] ; $ hash_string .= $ response [ 'TxStatus' ] ; $ hash_string .= $ response [ 'amount' ] ; $ hash_string .= $ response [ 'pgTxnNo' ] ; $ hash_string .= $ response [ 'issuerRefNo' ] ; $ hash_string .= $ response [ 'authIdCode' ] ; $ hash_string .= $ response [ 'firstName' ] ; $ hash_string .= $ response [ 'lastName' ] ; $ hash_string .= $ response [ 'pgRespCode' ] ; $ hash_string .= $ response [ 'addressZip' ] ; return hash_hmac ( 'sha1' , $ hash_string , $ this -> secretKey ) ; }
Citrus Decrypt Function

@param $response
@return string
Citrus Decrypt Function