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

PREVIOUS NEXT
Code Example
Php :: skäller västgötaspetsar 
Php :: condition for both of one should be true laravel eloquent 
Php :: woocommerce php customer reset password length 
Php :: how to search like username,email and phone number in php 
Php :: function placing bet in guide using php 
Php :: remove public/index.php from laravel url 
Php :: get vendor store url dokan 
Php :: how to get count of rows in a table in laravel query 
Php :: laravel vu3 
Php :: check if date is older than today php 
Php :: test lockForUpdate laravel 
Php :: undefined array key php 
Php :: php expire session for 1 month 
Php :: php make simple loop of number elevated to exponent without pow 
Php :: eager loading in hasmany belongsto relationship 
Php :: php include inside function global 
Php :: error correction in qr code php 
Php :: php git pull webhook 
Php :: net::ERR_CONNECTION_REFUSED php 
Php :: php get current datetime in us chicago 
Php :: symfony refresh endpoints 
Php :: php 5.6 xampp 
Php :: How to add watermark in FPDF PHP - Parte 2 
Php :: php mysql submit form 
Php :: lazy loading vs eager loading laravel 
Php :: php on page query 
Php :: distance between two locations in php 
Php :: obtener datos de orden wordpress php 
Php :: laravel notion add enviroment 
Php :: Laravel image validation just reloads page and does nothing 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =