Registry / crypto / web-token-jwt-encryption-algorithm-aescbc

web-token-jwt-encryption-algorithm-aescbc

JSON →
library4.0.0phppackagistunverified

AES CBC Based Content Encryption Algorithms for the JWT Framework.

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

A256CBCHS512
use Jose\Component\Encryption\Algorithm\ContentEncryption\A256CBCHS512;

Instantiate the AES-256-CBC-HMAC-SHA512 content encryption algorithm and generate a content encryption key.

use Jose\Component\Encryption\Algorithm\ContentEncryption\A256CBCHS512; $algorithm = new A256CBCHS512(); $key = $algorithm->createCEK();
Debug
Known issues
breakingRequires PHP 8.1+ and the OpenSSL extension with AES-CBC support.
fix
Ensure PHP 8.1+ is installed with OpenSSL enabled.
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
Amazon
1
Resources
web-token-jwt-encryption-algorithm-aescbc — pip install web-token-jwt-encryption-algorithm-aescbc · libregistry