|Ratings|| ||Unique User Downloads|| ||Download Rankings|
|Not enough user ratings||Total: 232 ||All time: 8,107 This week: 157|
This package can encrypt and decrypt data with different keys.
It takes a given string and encrypts it with a secret key defined in the class. The result is returned after encoding it using the base64 encoding.
The class can also decrypt a previously encrypted key using the same secret key.
The class can use two possible different encryption cyphers: SHA256 and SHA512.
$encrypt = Cryptography::encrypt('https://symfony.com/components');
$decrypt = Cryptography::decrypt($encrypt);
echo 'encypted <br>'.$encrypt;
echo '<br> decrypted <br>'.$decrypt;
PHP Cryptography class
1. Encypted/Decypted text/string
||Applications that use this package
No pages of applications that use this class were specified.
If you know an application of this package, send a message to the author to add a link here.