Skip to content
This repository was archived by the owner on Jun 15, 2021. It is now read-only.

robertlove/CakePHP-Crypt-Component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
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.

About

A CakePHP component used for encrypting/decrypting data

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published