PHP Classes

PHP Encryption Functions: Encrypt and decrypt files using mcrypt or OpenSSL

Recommend this page to a friend!
  Info   View files Example   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 175 All time: 8,734 This week: 250Up
Version License PHP version Categories
encryptions 1.0.0The PHP License5PHP 5, Cryptography


This class can encrypt and decrypt files using mcrypt or OpenSSL.

It provides static functions that can take a given string and encrypts its contents.

The class can also encrypt files in a given directory and store the encrypted version of the files in a given target directory.

The class can also decrypt data of a file that was previously encrypted by the class.

The class can use either the PHP functiions of mcrypt or openssl if extension mcrypt is not installed.

Picture of SzpaQ
  Performance   Level  
Name: SzpaQ <contact>
Classes: 5 packages by
Country: Poland Poland
Age: ???
All time rank: 304972 in Poland Poland
Week rank: 213 Up6 in Poland Poland Up


Check tests.php to see how to use it

  Files folder image Files  
File Role Description
Files folder imagefiles (3 files)
Plain text file Crypter.php Class Class source
Accessible without login Plain text file Data Auxiliary data
Accessible without login Plain text file tests.php Example Example script

  Files folder image Files  /  files  
File Role Description
  Accessible without login Image file Data Auxiliary data
  Accessible without login Plain text file drawing.svg Data Auxiliary data
  Accessible without login Image file hash Data Auxiliary data

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