Skip to content

fpasquer/EncryptManager

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###Easy way to encrypt / decrypt string with symfony 4.2.*

Install:

composer require fpasquer/encrypt-manager-bundle

Exemple:

$encryptManager = new EncryptManager();
$str1 = $encryptManager->encrypt("Hello world");
$str2 = $encryptManager->decrypt($str1);
dump($str1, $str2);

You can setup the encrytion method in EncryptManager::__controller as :

$encryptManager = new EncryptManager("AES-128-CBC");
...

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages