stackofcodes
Home
Categories
Popular Codes
Articles
/
Html
/
Encrypt decrypt php
Encrypt decrypt php
Encrypt/decrypt data php
//Key $key = 'SuperSecretKey'; //To Encrypt: $encrypted = mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $key, 'I want to encrypt this', MCRYPT_MODE_ECB); //To Decrypt: $decrypted = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $key, $encrypted, MCRYPT_MODE_ECB);
0
Source:
stackoverflow.com
Encryption and decryption in php example
$decoded = base64_decode($encoded);
0
Source:
deliciousbrains.com
Encrypt decrypt php