PHP Classes

PHP OpenSSL Encrypt Decrypt: Encrypt and decrypt data using the OpenSSL

Recommend this page to a friend!
  Info   View files Documentation   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 229 All time: 8,116 This week: 189Up
Version License PHP version Categories
openssl-encryption-d 1.0.0The PHP License5PHP 5, Cryptography
Description Author

This class can encrypt and decrypt data using the OpenSSL.

It takes a given data string and encrypts it with a given key using a configurable cypher that by default is aes-256-ctr.

The class can optionally encode the encrypted data using base64.

It can also decode and decrypt previously encrypted data using the same key and cypher.

Picture of akeel
Name: akeel <contact>
Classes: 2 packages by
Country: India India
Age: 26
All time rank: 3885270 in India India
Week rank: 587 Up35 in India India Up



Use this class to encrypt and decrypt data in php

Use Secure::encrypt to encrypt data. Use Secure::decrypt to decrypt data.

Changing @param $encoded to FALSE is not recommended

  Files folder image Files  
File Role Description
Plain text file ende.php Class Class source
Accessible without login Plain text file Doc. Documentation

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:8,116
This week:189Up