Recommend this page to a friend! |
Download .zip |
Info | View files (5) | Download .zip | Reputation | Support forum | Blog | Links |
Last Updated | Ratings | Unique User Downloads | Download Rankings | |||||
2015-02-23 (1 year ago) | Not enough user ratings | Total: 383 | All time: 6,348 This week: 1,087 |
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 |
File | Role | Description |
---|---|---|
Cifrador.php | Class | Rebuild |
cifrador.php | Class | Main class |
composer.json | Data | Auxiliary data |
README.md | Doc. | Documentation |
VERSION | Doc. | Documentation |
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.