vladzur / cifrador
Encrypt and decrypt strings using AES
1.3.0
2015-12-21 22:54 UTC
Requires
- php: >=5.3.0
This package is not auto-updated.
Last update: 2025-02-15 18:12:42 UTC
README
##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;
?>