PHP Classes

Cookie crypt and decrypt: Store and retrieve values in encrypted cookies

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 1,047 All time: 3,527 This week: 198Up
Version License PHP version Categories
crypt-cookie 1.0.0Artistic License3.0HTTP, Cryptography


This class can store and retrieve values in encrypted cookies.

It can store a value in a given cookie after encrypting the value with a given key.

The class can also do the opposite, i.e. retrieve the previously encrypted value stored in a given cookie set for the current HTTP request and return the decrypted value.

Picture of Edgar
Name: Edgar <contact>
Classes: 2 packages by
Country: Armenia Armenia
Age: 32
All time rank: 16762 in Armenia Armenia
Week rank: 398 Up3 in Armenia Armenia Down

  Files folder image Files  
File Role Description
Plain text file crypt.php Class COOKIE ENCRYPT AND DECRYPT
Plain text file example.php Class COOKIE ENCRYPT AND DECRYPT

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