PHP code example of soumik / libcipher

1. Go to this page and download the library: Download soumik/libcipher 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/ */

    

soumik / libcipher example snippets

sh
composer nce __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");