PHP code example of erykai / cryption

1. Go to this page and download the library: Download erykai/cryption library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

erykai / cryption example snippets


const CRYPTION_CIPHERING = "BF-CBC";
const CRYPTION_KEY = "Aa1@#LLkMmJ,;l//";


use Erykai\Cryption\Cryption;

$email = "[email protected]";

$Cryption = new Cryption();
$emailCryption = $Cryption->encrypt($email);
$emailDecryption = $Cryption->decrypt($emailCryption);

print_r($emailCryption, $emailDecryption);