PHP Classes

PHP Encrypt Files: Encrypt and decrypt data with a given key and salt

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,000 All time: 3,647 This week: 80Up
Version License PHP version Categories
php-encrypt-files 1.0.0Free for non-comm...5.0PHP 5, Cryptography


This class can encrypt and decrypt data with a given key and salt vector.

It can take a given data string and uses the MCrypt library to encrypt the data using a given key and salt vector.

The class can also do the opposite, i.e. decrypt the previously encrypted data and decrypt it with the given key.

The decrypted data can be returned as a string or served for download.

Picture of Er. Rochak Chauhan
  Performance   Level  
Name: Er. Rochak Chauhan is available for providing paid consulting. Contact Er. Rochak Chauhan .
Classes: 54 packages by
Country: India India
Age: 45
All time rank: 21 in India India
Week rank: 26 Down4 in India India Down
Innovation award
Innovation award
Nominee: 15x

Winner: 4x

  Files folder image Files  
File Role Description
Plain text file Class Main Class
Accessible without login Plain text file example.php Example example
Accessible without login Image file RochakChauhan.jpg Photo Usage Script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,647
This week:80Up