public function createHash($dateTime, $amount)
    {
        $storeId      = $this->getStoreId();
        $sharedSecret = $this->getSharedSecret();
        $currency     = $this->getCurrencyNumeric();
        $stringToHash = $storeId . $dateTime . $amount . $currency . $sharedSecret;
        $ascii        = bin2hex($stringToHash);

        return sha1($ascii);
    }
public function createHash($dateTime, $amount)
    {
        $storeId      = $this->getStoreId();
        $sharedSecret = $this->getSharedSecret();
        $currency     = $this->getCurrencyNumeric();
        $stringToHash = $storeId . $dateTime . $amount . $currency . $sharedSecret;
        $ascii        = bin2hex($stringToHash);

        return sha1($ascii);
    }
public function createHash ( $ dateTime , $ amount ) { $ storeId = $ this -> getStoreId ( ) ; $ sharedSecret = $ this -> getSharedSecret ( ) ; $ currency = $ this -> getCurrencyNumeric ( ) ; $ stringToHash = $ storeId . $ dateTime . $ amount . $ currency . $ sharedSecret ; $ ascii = bin2hex ( $ stringToHash ) ; return sha1 ( $ ascii ) ; }
Returns a SHA-1 hash of the transaction data.

@param $dateTime
@param $amount
@return string
Returns a SHA - 1 hash of the transaction data .