PHP code example of folded / crypt
1. Go to this page and download the library: Download folded/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/ */
folded / crypt example snippets
use function Folded\getEncryptionKey;
use function Folded\setEncryptionKey;
setEncryptionKey("xIYrZSsCV6hx9x/Q4bka1PejU+aSaMerJQFSYr3QnTE=");
use function Folded\getEncryptedString;
$encryptedText = getEncryptedString("hello world");
use function Folded\getDecryptedString;
$encryptedString = "...";
$decryptedString = getDecryptedString($encryptedString);