pbes / crypt-blowfish
Fork https://github.com/shimochi/Crypt_Blowfish for supporting PHP 7.4
1.0.4
2020-10-30 05:08 UTC
Requires
- php: >=7.3.16
- pear/pear: ^1.0.0
This package is not auto-updated.
Last update: 2025-04-26 02:01:00 UTC
README
Fork of https://github.com/pear/Crypt_Blowfish and https://github.com/shimochi/Crypt_Blowfish
Installation
$ composer require pbes/crypt-blowfish
Usage
<?php require __DIR__ . '/../vendor/autoload.php'; $key = 'key'; $text = 'text'; $blowfish = \Crypt\Blowfish::factory('ecb', $key); $encrypt = $blowfish->encrypt($text); $decrypt = $blowfish->decrypt($encrypt);
LICENSE
The Crypt Blowfish is open source software licensed under the BSD 2-Clause License.