Answers for "php encryption and decryption library"

PHP
0

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);
Posted by: Guest on May-02-2021
0

encryption and decryption in php example

$decoded = base64_decode($encoded);
Posted by: Guest on June-13-2020

Code answers related to "php encryption and decryption library"

Browse Popular Code Answers by Language