pbes/crypt-blowfish

Fork https://github.com/shimochi/Crypt_Blowfish for supporting PHP 7.4

Installs: 12 940

Dependents: 0

Suggesters: 0

Security: 0

Stars: 2

Watchers: 0

Forks: 6

pkg:composer/pbes/crypt-blowfish

1.0.4 2020-10-30 05:08 UTC

This package is not auto-updated.

Last update: 2025-10-11 04:22:09 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.