| Recommend this page to a friend! |
| Info | Reputation | Support forum | Blog | Links |
| Ratings | Unique User Downloads | Download Rankings | ||||
| Not enough user ratings | Total: 410 | All time: 6,493 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;
?>
| File | Role | Description |
|---|---|---|
| Class | Rebuild | |
| Class | Main class | |
| Data | Auxiliary data | |
| Doc. | Documentation | |
| 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. |
| 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.