/home/techb158/ileadtechnology.com/vendor/lcobucci/jwt/src/Signer
NameSizeModeActions
Ecdsa/-0755rm
Hmac/-0755rm
Key/-0755rm
Rsa/-0755rm
BaseSigner.php19030644editdlrm
CannotSignPayload.php4060644editdlrm
Ecdsa.php15540644editdlrm
Hmac.php9530644editdlrm
InvalidKeyProvided.php5650644editdlrm
Key.php22810644editdlrm
Keychain.php9940644editdlrm
None.php3400644editdlrm
OpenSSL.php27400644editdlrm
Rsa.php4840644editdlrm
Edit: /home/techb158/ileadtechnology.com/vendor/lcobucci/jwt/src/Signer/Hmac.php (953B)
* @since 0.1.0 */ abstract class Hmac extends BaseSigner { /** * {@inheritdoc} */ public function createHash($payload, Key $key) { return hash_hmac($this->getAlgorithm(), $payload, $key->getContent(), true); } /** * {@inheritdoc} */ public function doVerify($expected, $payload, Key $key) { if (!is_string($expected)) { return false; } return hash_equals($expected, $this->createHash($payload, $key)); } /** * Returns the algorithm name * * @internal * * @return string */ abstract public function getAlgorithm(); }