PHP Classes

File: README.md

Recommend this page to a friend!
  Classes of Vladimir Zurita   Cifrador   README.md   Download  
File: README.md
Role: Documentation
Content type: text/markdown
Description: Documentation
Class: Cifrador
Encrypt and decrypt data with mcrypt
Author: By
Last change:
Date: 9 years ago
Size: 354 bytes
 

Contents

Class file image Download

Cifrador

Encrypt and decrypt strings using AES

Usage

<?php
$Cifrador = new Cifrador();

//Encrypt text
$texto_cifrado = $Cifrador->cifrar("Este texto serĂ¡ cifrado", "m1p4ssw0rd");
echo $texto_cifrado;

//Decrypt text
$texto = $Cifrador->descifrar($texto_cifrado, "m1p4ssw0rd");
echo $texto;
?>