Bug #36767 ยป 0001-BUG-Fix-hash-service-hmac-generation-is-wrong-when-n.patch

Alexander Berl, 2012-05-02 03:28

View differences:

Classes/Security/Cryptography/HashService.php
64 64
			throw new \TYPO3\FLOW3\Security\Exception\InvalidArgumentForHashGenerationException('A hash can only be generated for a string, but "' . gettype($string) . '" was given.', 1255069587);
65 65
		}
66 66

  
67
		return hash_hmac('sha1', $string, $this->encryptionKey);
67
		return hash_hmac('sha1', $string, $this->getEncryptionKey());
68 68
	}
69 69

  
70 70
	/**
71
- 
    (1-1/1)