Registry / crypto / web-token-jwt-signature-algorithm-hmac

web-token-jwt-signature-algorithm-hmac

JSON →
library4.0.0phppackagistunverified

HMAC Based Signature Algorithms the JWT Framework.

composer require web-token/jwt-signature-algorithm-hmac
INSTALL
IMPORT
SIG · WEB-TOKEN-JWT-SIGN
W
web-token-jwt-signature-algorithm-hmac
cryptophpv4.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

HS256
use Jose\Component\Signature\Algorithm\HS256;

Sign a payload using HMAC-SHA256.

use Jose\Component\Signature\Algorithm\HS256; $algorithm = new HS256(); $signature = $algorithm->sign('key', 'payload');
Debug
Known issues
breakingRequires PHP 8.1+
fix
Upgrade PHP to 8.1 or later.
affects: >=4.0.0
Upgrade
Version history
4.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
38
Resources
web-token-jwt-signature-algorithm-hmac — pip install web-token-jwt-signature-algorithm-hmac · libregistry