shimochi/crypt-blowfish

This package is abandoned and no longer maintained. No replacement package was suggested.

Fork https://github.com/pear/Crypt_Blowfish

1.0.0 2018-06-27 07:39 UTC

This package is not auto-updated.

Last update: 2023-10-14 23:59:11 UTC


README

Fork https://github.com/pear/Crypt_Blowfish

Installation

$ composer require shimochi/crypt-blowfish

Usage

<?php

require __DIR__ . '/../vendor/autoload.php';

$key = 'key';
$text = 'text';

$blowfish =& Crypt\Blowfish::factory('cbc', $key);
$encrypt = $blowfish->encrypt($text);
$decrypt = $blowfish->decrypt($encrypt);

LICENSE

The Crypt Blowfish is open source software licensed under the BSD 2-Clause License.