PayU\Configuration::getSecretKey PHP 메소드

getSecretKey() 공개 메소드

public getSecretKey ( ) : string
리턴 string
    public function getSecretKey()
    {
        return $this->secretKey;
    }

Usage Example

 protected function calculateHash($rawData)
 {
     ksort($rawData);
     $buffer = '';
     foreach ($rawData as $key => $value) {
         $buffer .= strlen($value) . $value;
     }
     return hash_hmac('md5', $buffer, $this->configuration->getSecretKey());
 }
All Usage Examples Of PayU\Configuration::getSecretKey