| Ratings |   | Unique User Downloads |   | Download Rankings | 
| Not enough user ratings |  | Total: 257  |  | All time:  7,840 This week: 54  | 
 | 
| Description |   | Author  | 
This class can encrypt and decrypt data using Rijndael algorithm. 
 
It can encrypt and descrypt data with a given key and the Rijndael algorithm using the OpenSSL extension. 
 
The class also implements the PBKDF1 with a given password and salt.  |  | 
 
  | 
Example
<?php
 
include 'RijndaelOpenSSL.php';
 
 
$original = 'This is a text to encrypt!';
 
$pass ='ThisIsMyPassword';
 
 
$rijndael = new RijndaelOpenSSL();
 
 
$encriptado = $rijndael->encrypt($original, $pass);
 
$desencriptado = $rijndael->decrypt($encriptado, $pass);
 
 
echo 'Encriptado:' . PHP_EOL . $encriptado . PHP_EOL;
 
echo 'Desencriptado:' . PHP_EOL. $desencriptado . PHP_EOL;
 
 
 | 
 
Details
RijndaelOpenSSL
 Rijndael algorithm for PHP and .NET
This class encrypt a string with password.
The result is compatible with the .NET implementation of the Rijndael algorithm.
Example of usage
include 'RijndaelOpenSSL.php';
$original = 'This is a text to encrypt!';
$pass ='ThisIsMyPassword';
$rijndael = new RijndaelOpenSSL();
$encriptado = $rijndael->encrypt($original, $pass);
$desencriptado = $rijndael->decrypt($encriptado, $pass);
 
 
|   | 
Applications that use this package | 
  | 
No pages of applications that use this class were specified.
 If you know an application of this package, send a message to the author to add a link here.