vladzur/cifrador

Encrypt and decrypt strings using AES

1.3.0 2015-12-21 22:54 UTC

This package is not auto-updated.

Last update: 2024-04-27 13:46:19 UTC


README

Codacy Badge Build Status

##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;
?>