Search
 
SCRIPT & CODE EXAMPLE
 

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);
Comment

encryption and decryption in php example

$decoded = base64_decode($encoded);
Comment

PREVIOUS NEXT
Code Example
Php :: install php 5.6 mac 
Php :: install php extensions for magento 2 
Php :: convert scientific notation to decimal php 
Php :: how increase php upload size in wordpress 
Php :: set cookie one day php 
Php :: php sort custom function 
Php :: Wordpress disable admin bar to users except admin 
Php :: php array remove keys keep values 
Php :: get relationship data from soft delete laravel 
Php :: how can we check in the table in comma separated values in laravel 
Php :: laravel select max value 
Php :: codeigniter order_by 
Php :: features of PHP7 
Php :: php nginx file not found 
Php :: componentes blade laravel attributes merge 
Php :: how to use php to print inside html 
Php :: laravel migration update table column type 
Php :: laravel wire not working 
Php :: laravel select multiple value in form edit 
Php :: laravel invoice number generator 
Php :: laravel hasMany with join 
Php :: what is better, php or javascript 
Php :: Laravel create foreign key column in migration 
Php :: laravel multiple paginate 
Php :: hoew to store a cookie php 
Php :: laravel npm run dev mix error FIX 
Php :: time now with milliseconds php 
Php :: laravel validate date 
Php :: adminlte in laravel 8 
Php :: wordpress deactivate widgets gutenberg 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =