PHP Classes

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

Recommend this page to a friend!
  Info   Documentation   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 233 All time: 8,128 This week: 571Up
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

Documentation

openssl-encryption-decryption-class-php

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 (2)  
File Role Description
Plain text file ende.php Class Class source
Accessible without login Plain text file README.md Doc. Documentation

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:233
This week:0
All time:8,128
This week:571Up