library phpaes
AES cipher - FIPS 192 compliant
phpaes/phpaes
AES cipher - FIPS 192 compliant
- Tuesday, January 16, 2018
- by jiajiale
- Repository
- 4 Watchers
- 20 Stars
- 761 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 10 Forks
- 1 Open issues
- 3 Versions
- 108 % Grown
PhpAes
, (*1)
FIPS-192 compliant AES cipher., (*2)
Supported key lengths:
- 128 bits
- 192 bits
- 256 bits
Support block modes:
- ECB: Electronic Code Book
- CBC: Cipher Block Chaining
- CFB: Cipher Feedback
- OFB: Output Feedback
Supported padding schemes:
Installation
Install via composer:, (*3)
composer require phpaes/phpaes
Basic Usage
use PhpAes\Aes;
$aes = new Aes('abcdefgh01234567', 'CBC', '1234567890abcdef');
$y = $aes->encrypt('hello world!');
$x = $aes->decrypt($y);
echo base64_encode($y);
echo $x;
Static Code Analysis
Running Tests
vendor/bin/phpunit
Code Style
This project adheres to PSR-2 formatting., (*4)
vendor/bin/phpcs --extensions=php --report=summary --standard=PSR2 ./src ./tests
dev-master
9999999-dev
AES cipher - FIPS 192 compliant
Sources
Download
MIT
The Requires
The Development Requires
3.1.0
3.1.0.0
AES cipher - FIPS 192 compliant
Sources
Download
MIT
The Requires
The Development Requires
3.0.0
3.0.0.0
AES cipher - FIPS 192 compliant
Sources
Download
MIT
The Requires
The Development Requires