资源说明:A CakePHP component used for encrypting/decrypting data
Crypt Component
A CakePHP component used for encrypting/decrypting data
INSTALLATION
------------
Copy crypt.php to your app/controllers/components directory
CONFIGURATION
---------------
In your controller, add the Geocoder Component to your $components array
public $components = array('Crypt');
USAGE
---------------
The following example demonstrates encrypting and decrypting data from within a
controller action:
$data = 'mysecretthing';
$encrypted = $this->Crypt->encrypt($data);
debug($encrypted);
$decrypted = $this->Crypt->decrypt($encrypted);
debug($decrypted);
exit;
LICENSE
-------
The files in this archive are released under the new BSD license. You can find a
copy of this license in LICENSE.
本源码包内暂不包含可直接显示的源代码文件,请下载源码包。
English
