Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Symmetric encryption in PHP

<?php
$plaintext = "Your sensitive message";
$cipher = "AES-128-CTR";
$key = "Blog Desire";
$iv = "1232434565432123";
$ciphertext = openssl_encrypt($plaintext, $cipher, $key, $options=0, $iv);
echo $ciphertext;
Source by www.blogdesire.com #
 
PREVIOUS NEXT
Tagged: #Symmetric #encryption #PHP
ADD COMMENT
Topic
Name
9+8 =