Skip to content

powerlinks/blowfish-encrypter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Blowfish Encrypter

This class is used to encrypt and decrypt strings using the blowfish standard.

Composer

composer require powerlinks/blowfish-encrypter
{
    "require": {
        "powerlinks/blowfish-encrypter": "dev-master"
    }
}

Usage

use PowerLinks\Encrypter\BlowfishEncrypter;

$encrypter = new BlowfishEncrypter('passphrase');
$sentence = 'my sentence';

$encrypted = $encrypter->encryptToString($sentence);

$sentenceAgain = $encrypter->decryptFromString($encrypted);

Releases

No releases published

Packages

No packages published

Languages