Simple encryption class for PHP. Makes the task of ciphering/deciphering data a one liner.
pcrypt simplifies using the PHP mcrypt extension and is ideal for developers as a drop in encryption utility to enhance mcrypt.
Data output from pcrypt is url, cookie and encryption-algorythm friendly making it a reliable multipurpose class that can be used for encrypting passwords and other sensitive data. pcrypt uses strong encryption.
- The default algorithm used by pcrypt is Rijndael 256 bit.
- The default encryption mode for pcrypt is Cipher-Block-Chaining (CBC).
Both of these can be changed in the code if you require. Wikipedia has a wealth of information on cipher blocks and encryption algorithms if you want to know more or experiment with different configurations.
To download pcrypt go here: pcrypt releases
The latest news on pcrypt can be found here: Summary
The latest documents for pcrypt can be accessed using the links below: