Fork of https://github.com/pear/Crypt_Blowfish and https://github.com/shimochi/Crypt_Blowfish
$ composer require pbes/crypt-blowfish
<?php
require __DIR__ . '/../vendor/autoload.php';
$key = 'key';
$text = 'text';
$blowfish = \Crypt\Blowfish::factory('ecb', $key);
$encrypt = $blowfish->encrypt($text);
$decrypt = $blowfish->decrypt($encrypt);The Crypt Blowfish is open source software licensed under the BSD 2-Clause License.