Skip to content

alanseiden/PHP-Secure-Session

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 

Repository files navigation

Encrypt PHP session data using files
----------------------------------------------
The encryption is built using mcrypt extension 
and the randomness is managed by openssl
The default encryption algorithm is Rijndael-256
and we use CBC+HMAC (Encrypt-then-mac)

How to use it
-------------
Include the SecureSession.php in your project and use
the PHP session as usual.

Demo
----
In the demo folder you can see a simple PHP script (demo.php)
that stores some data in $_SESSION and display the encrypted
data of the session file (stored in the temporary directory
of the operating system, e.g. /tmp in GNU/Linux).

  
Enrico Zimuel ([email protected])
Copyright GNU General Public License

About

Encrypt the session data of PHP using the Rijndael 256 bit cipher

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%