PHP code example of pbes / crypt-blowfish
1. Go to this page and download the library: Download pbes/crypt-blowfish 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/ */
pbes / crypt-blowfish example snippets
= 'key';
$text = 'text';
$blowfish = \Crypt\Blowfish::factory('ecb', $key);
$encrypt = $blowfish->encrypt($text);
$decrypt = $blowfish->decrypt($encrypt);