Recommend this page to a friend! |
Download |
Info | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 410 | All time: 6,490 This week: 54 |
Version | License | PHP version | Categories | |||
cifrador 0.1 | GNU General Publi... | 4 | Cryptography |
Description | Author | |||||||||||||||||||||||
This class can encrypt and decrypt data with mcrypt. |
|
Encrypt and decrypt strings using 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;
?>
Files (5) |
File | Role | Description |
---|---|---|
Cifrador.php | Class | Rebuild |
cifrador.php | Class | Main class |
composer.json | Data | Auxiliary data |
README.md | Doc. | Documentation |
VERSION | Doc. | Documentation |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
80% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.