shimochi / crypt-blowfish
该软件包已被废弃且不再维护。未建议替代软件包。
Fork https://github.com/pear/Crypt_Blowfish
1.0.0
2018-06-27 07:39 UTC
Requires
- php: >=7.0.0
- pear/pear: ^1.0.0
This package is not auto-updated.
Last update: 2023-10-14 23:59:11 UTC
README
Fork https://github.com/pear/Crypt_Blowfish
安装
$ composer require shimochi/crypt-blowfish
用法
<?php require __DIR__ . '/../vendor/autoload.php'; $key = 'key'; $text = 'text'; $blowfish =& Crypt\Blowfish::factory('cbc', $key); $encrypt = $blowfish->encrypt($text); $decrypt = $blowfish->decrypt($encrypt);
许可协议
Crypt Blowfish 是开源软件,采用 BSD 2-Clause 许可协议授权。