PHP Classes

PHP Rijndael OpenSSL: Encrypt and decrypt data using Rijndael algorithm

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 249 All time: 7,894 This week: 191Up
Version License PHP version Categories
rijndaelopenssl 1.0.0The PHP License5PHP 5, Cryptography
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.

Picture of Antonio Leiva
  Performance   Level  
Name: Antonio Leiva <contact>
Classes: 2 packages by
Country: Spain Spain
Age: 52
All time rank: 3790100 in Spain Spain
Week rank: 285 Up15 in Spain Spain Up



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);
  Files folder image Files  
File Role Description
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file Doc. Documentation
Plain text file RijndaelOpenSSL.php Class Class source
Accessible without login Plain text file test.php Example Example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,894
This week:191Up