master102121 / encriptor
Encriptador para senhas em php
Installs: 2
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:libbrary
Requires
- php: ^8.0
- ext-curl: *
- ext-gd: *
Requires (Dev)
- phpunit/phpunit: 10.5.x-dev
README
Helper to encrypt strings with custom key with php
In composer
composer require master102121/encryptor
use Master102121\Encryptor\SaltCrypt;
$mykey = "mykey";
$secret = "password";
$scp = new SaltCrypt($mykey, $secret);
$encrypted = $scp->encrypt();
$decrypted = $scp->decrypt($mykey);