PHP Package: web-token/jwt-encryption-algorithm-aesgcm

AES-GCM encryption algorithm for JSON Web Tokens in PHP for enhanced security

Current Version: 3.0.7
Last Updated: Date not available
PHP Requirement: >=8.1
Dependencies:
web-token/web-token
phpseclib/phpseclib
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The JWT Encryption Algorithm AES-GCM provides a robust encryption method for JSON Web Tokens, ensuring data integrity and confidentiality. This library integrates seamlessly with PHP, offering a secure solution for token encryption. With AES-GCM, you can encrypt JWTs with high efficiency and minimal risk, safeguarding sensitive information across web applications and services.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 3.0.7

Download Download v3.0.7

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/web-token/jwt-encryption-algorithm-aesgcm/3.0.7/loader.php';
require_once 'libs/web-token/web-token/{lib_version}/loader.php';
require_once 'libs/phpseclib/phpseclib/3.0.43/loader.php';

use Jose\Component\Encryption\Algorithm\A128GCMKW;
use Jose\Component\Encryption\Algorithm\A192GCMKW;
use Jose\Component\Encryption\Algorithm\A256GCMKW;

$obj = new A128GCMKW();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.