dev-master
9999999-devA simple crypt lib
MIT
The Development Requires
by Matthieu Bessat
0.1
0.1.0.0A simple crypt lib
MIT
The Development Requires
by Matthieu Bessat
Wallogit.com
2017 © Pedro Peláez
A simple crypt lib
This is small lib to use symmetric cryptography with php., (*1)
composer require lefuturiste/crypt, (*2)
Simple usage like this:, (*3)
$crypt = new Lefuturiste\Crypt\Crypt('YOUR_PASSWORD');
$cipher = $crypt->encrypt('YOUR DATA');
$plainText = $crypt->decrypt($cipher); //YOUR DATA
You can change the method in Crypt constructor :, (*4)
$crypt = new Lefuturiste\Crypt\Crypt('YOUR_PASSWORD', 'AES-128-CFB1');
$cipher = $crypt->encrypt('YOUR DATA');
$plainText = $crypt->decrypt($cipher); //YOUR DATA
Get list of method available : http://php.net/manual/en/function.openssl-get-cipher-methods.php, (*5)
You can test the lib :, (*6)
vendor/bin/phpunit Tests, (*7)
This is my own usage, and this is very simple usage of cryptography. This is mostly for my personal usage. But you can reports bug, or others things, it's open source project! You can contribute by pull request, the common method in GitHub., (*8)
A simple crypt lib
MIT
A simple crypt lib
MIT