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    
Last Updated Ratings Unique User Downloads Download Rankings
2018-03-20 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 211 All time: 8,182 This week: 398Up
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.

  Performance   Level  
Name: Antonio Leiva <contact>
Classes: 2 packages by
Country: Spain Spain

 

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);
  Files folder image Files  
File Role Description
Accessible without login Plain text file LICENSE Lic. License text
Accessible without login Plain text file README.md 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  
 100%
Total:211
This week:0
All time:8,182
This week:398Up

For more information send a message to info at phpclasses dot org.