2017 © Pedro Peláez
 

library secure-encrypt

Simple secure asymmetric encryption for php

image

ariffazmi/secure-encrypt

Simple secure asymmetric encryption for php

  • Tuesday, May 9, 2017
  • by ariffazmi
  • Repository
  • 1 Watchers
  • 0 Stars
  • 30 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Php secure asymmetric encryption

Install the Application

Composer

Run composer require ariffazmi/secure-encrypt, (*1)

How To Use

require_once __DIR__."/vendor/autoload.php";

use Secure\Encrypt;

function myhash(){

   return (new Encrypt());
}

//Encrypt
$encrypt_data = myhash()->encrypt("your data","mysecretkey");
$decrypt_data = myhash()->decrypt($encrypt,"mysecretkey");

//Encrypt (return value with base64)
$encrypt_data = myhash()->encrypt("your data","mysecretkey",true);
$decrypt_data = myhash()->decrypt($encrypt,"mysecretkey",true);

Or, (*2)

You can skip the above by doing this:, (*3)

composer create-project ariffazmi/secure-encrypt

After successfull install, run this command : composer make-example. You will have example.php file in your project directory., (*4)

The Versions

09/05 2017

dev-master

9999999-dev

Simple secure asymmetric encryption for php

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

php encryption asymmetric

09/05 2017

1.0

1.0.0.0

Simple secure asymmetric encryption for php

  Sources   Download

MIT

The Requires

  • php >=5.3.0

 

php encryption asymmetric