Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

moshimo999/crypt-blowfish

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crypt Blowfish

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.