vladzur/cifrador

使用 AES 加密和解密字符串

1.3.0 2015-12-21 22:54 UTC

This package is not auto-updated.

Last update: 2024-09-28 16:15:28 UTC


README

Codacy Badge Build Status

##Cifrador

使用 AES 加密和解密字符串

###使用方法

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