Skip to content

Encrypt/Decrypt a string in PHP with Substitution Algorithm + SALT + Private Key.

License

Notifications You must be signed in to change notification settings

priv4cy/php-substitution-encrypt-decrypt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

PHP Substitution Encrypt/Decrypt

Encrypt/Decrypt a string in PHP with Substitution Algorithm + SALT + Private Key.

Deployment

To deploy this project run

  git clone https://github.com/priv4cy/php-substitution-encrypt-decrypt.git

Usage/Examples

include('substitution.php');
$ed = new substitution();

$encrypted = $ed->encrypt('my string', 'nX2b1F', 'sEcReTkEy');
$decrypted = $ed->decrypt($encrypted, 'nX2b1F', 'sEcReTkEy');

License

MIT

About

Encrypt/Decrypt a string in PHP with Substitution Algorithm + SALT + Private Key.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages