Download the PHP package ariffazmi/secure-encrypt without Composer
On this page you can find all versions of the php package ariffazmi/secure-encrypt. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download ariffazmi/secure-encrypt
More information about ariffazmi/secure-encrypt
Files in ariffazmi/secure-encrypt
Download ariffazmi/secure-encrypt
More information about ariffazmi/secure-encrypt
Files in ariffazmi/secure-encrypt
Vendor ariffazmi
Package secure-encrypt
Short Description Simple secure asymmetric encryption for php
License MIT
Package secure-encrypt
Short Description Simple secure asymmetric encryption for php
License MIT
Please rate this library. Is it a good library?
Informations about the package secure-encrypt
Php secure asymmetric encryption
Install the Application
Composer
Run composer require ariffazmi/secure-encrypt
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
You can skip the above by doing this:
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.
All versions of secure-encrypt with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package ariffazmi/secure-encrypt contains the following files
Loading the files please wait ....