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

web-token-jwt-signature-algorithm-rsa

JSON →
library4.0.0phppackagistunverified

RSA Based Signature Algorithms the JWT Framework.

composer require web-token/jwt-signature-algorithm-rsa
INSTALL
IMPORT
SIG · WEB-TOKEN-JWT-SIGN
W
web-token-jwt-signature-algorithm-rsa
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.

RS256
use Jose\Component\Signature\Algorithm\RS256;

Sign a JWT payload using RS256 algorithm

use Jose\Component\Signature\Algorithm\RS256; $algorithm = new RS256(); $jws = $algorithm->sign($payload, $privateKey);
Debug
Known issues
breakingRequires PHP 8.1+ for version 4.x
fix
Upgrade PHP to 8.1 or use version 3.x
affects: >=4.0.0
Upgrade
Version history
4.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
Resources
web-token-jwt-signature-algorithm-rsa — pip install web-token-jwt-signature-algorithm-rsa · libregistry