Skip to content

iamrivu/libcipher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AES-256-CBC key based encryption and decryption in PHP

composer require soumik/libcipher

require_once __DIR__ . "/vendor/autoload.php";
use libcipher\src as lib;

lib\Cipher::encrypt("Your text", "Random key 1st pair", "Random key 2nd pair");

lib\Cipher::decrypt("Your encrypted text", "Key 1st pair", "Key 2nd pair");
@version PHP >= 7.4
GNU GENERAL PUBLIC LICENSE