1. Go to this page and download the library: Download mmdm/sim-crypt 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/ */
mmdm / sim-crypt example snippets
composer
// to instance a crypt object
$crypt = new Crypt($main_key, $assured_key);
// to crypt data
$encrypted_message = $crypt->encrypt("message to encrypt");
// to encrypt data
$decrypted_message = $crypt->decrypt($encrypted_message);
// "message to encrypt" will be equal to $decrypted_message at the end