PHP Classes

File: index.php

Recommend this page to a friend!
  Classes of Muhammad Umer Farooq   PHP Cryptography class   index.php   Download  
File: index.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP Cryptography class
Encrypt and decrypt data with different keys
Author: By
Last change: Apply fixes from StyleCI
Date: 5 years ago
Size: 229 bytes
 

Contents

Class file image Download
<?php

require_once 'classes/Cryptography.php';

$encrypt = Cryptography::encrypt('https://symfony.com/components');
$decrypt = Cryptography::decrypt($encrypt);
echo
'encypted <br>'.$encrypt;
echo
'<br> decrypted <br>'.$decrypt;