Encrypts and decrypts data using the mcrypt extension
The Crypt class is an abstraction layer over the functions provided by the mcrypt extension, which supports a wide variety of algorithms to encrypt/decrypt data, such as DES, TripleDES, Blowfish, and much more.
Example:
Located in /core/security/Crypt.class.php (line 62)
PHP2Go | --Crypt
Unset the cipher key
Decrypts the passed $data, using current configurations for cipher, cipher mode and cipher key
Decrypts the contents of a file, saving the results in another file
Encrypt the passed $data, using current configurations for cipher, cipher mode and cipher key
Encrypts the contents of a file, saving the results in another file
Get current cipher
Get all available cipher algorithms
Get current cipher mode
Get cipher key
Get all available cipher modes
Set cipher algorithm
Set cipher mode
Set cipher key
Initializes the cipher module before encrypting or decrypting data
Inherited From PHP2Go
PHP2Go::PHP2Go()
PHP2Go::equals()
PHP2Go::generateUniqueId()
PHP2Go::getClassName()
PHP2Go::getConfigVal()
PHP2Go::getLangVal()
PHP2Go::getObjectName()
PHP2Go::getParentName()
PHP2Go::hasDestructor()
PHP2Go::hashCode()
PHP2Go::isA()
PHP2Go::isSubclassOf()
PHP2Go::logError()
PHP2Go::raiseError()
PHP2Go::registerDestructor()
PHP2Go::registerShutdownFunc()
PHP2Go::retrieve()
PHP2Go::store()
PHP2Go::__toString()
Documentation generated on Sun, 07 Oct 2007 19:21:54 -0300 by phpDocumentor 1.3.2