mmeyer2k / php-aes-gcm

A compact AES-256 GCM implementation for PHP 8+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php-aes-gcm

A compact AES-256 GCM implementation for PHP 8.2+

Install

Basic usage

use Mmeyer2k\AesGcm\AesGcm;

$msg = 'AAAAAAAA';
$key = 'BBBBBBBB';

$enc = AesGcm::encrypt($msg, $key);

$dec = AesGcm::decrypt($enc, $key);

About

A compact AES-256 GCM implementation for PHP 8+

License:MIT License


Languages

Language:PHP 100.0%