2017 © Pedro Peláez
 

library zifratu

A PHP library to encrypt and decrypt using AES in a MySQL compatible way

image

edusalguero/zifratu

A PHP library to encrypt and decrypt using AES in a MySQL compatible way

  • Saturday, December 31, 2016
  • by edusalguero
  • Repository
  • 0 Watchers
  • 0 Stars
  • 26 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Build Status Scrutinizer Code Quality, (*1)

Zifratu

Zifratu is a simple PHP library to encrypt and decrypt using AES in a MySQL compatible way, (*2)

Usage

<?php

$secret = 'my secret key';
$valueToSecure = 'test';
$zifratu = new \EduSalguero\Zifratu\ZifratuFacade($secret);

$encryptedValue = $zifratu->encrypt($valueToSecure);
$decryptedValue = $zifratu->decrypt($encryptedValue);

printf('Secret: %s' . PHP_EOL, $secret);
printf('Value to secure: %s' . PHP_EOL, $valueToSecure);
printf('Encrypted value: %s' . PHP_EOL, $encryptedValue);
printf('Decrypted value: %s' . PHP_EOL, $decryptedValue);

The Versions

31/12 2016

dev-master

9999999-dev

A PHP library to encrypt and decrypt using AES in a MySQL compatible way

  Sources   Download

MIT

The Requires

  • ext-openssl *

 

The Development Requires

by Avatar edusalguero

31/12 2016

v1.0.1

1.0.1.0

A PHP library to encrypt and decrypt using AES in a MySQL compatible way

  Sources   Download

MIT

The Requires

  • ext-openssl *

 

The Development Requires

by Avatar edusalguero

10/12 2016

v1.0.0

1.0.0.0

A PHP library to encrypt and decrypt using AES in a MySQL compatible way

  Sources   Download

MIT

The Requires

  • ext-openssl *

 

The Development Requires

by Avatar edusalguero