2017 © Pedro Peláez
 

library phpaes

AES cipher - FIPS 192 compliant

image

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

The README.md

PhpAes

Build Status, (*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:

  • null byte (0x00)

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

The Versions

16/01 2018

dev-master

9999999-dev

AES cipher - FIPS 192 compliant

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

16/01 2018

3.1.0

3.1.0.0

AES cipher - FIPS 192 compliant

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires

05/06 2017

3.0.0

3.0.0.0

AES cipher - FIPS 192 compliant

  Sources   Download

MIT

The Requires

  • php >=5.3

 

The Development Requires