PHP code example of kanti / mcrypt
1. Go to this page and download the library: Download kanti/mcrypt 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/ */
kanti / mcrypt example snippets
= "Password";
$data = file_get_contents(__FILE__);
$options = array();
$jsonString = Kanti\MCrypt::encrypt($key, $data, $options);
$data = Kanti\MCrypt::decrypt($key, $jsonString);
var_dump($jsonString);
var_dump($data);