Google+
__________________________
- SettingUp your Keys
Google+$config['encryption_key'] = "YOUR KEY";
- Initializing the Class
$this->load->library('encrypt');
__________________________
__________________________
$id = '123';
$encrypted_id = $this->encrypt->encode($id);
//$url = 'www.trythis.com/site?id=' . $encrypted_id;
And to decode//$encrypted_id = $_GET['id'];
$decrypted_id = $this->encrypt->decode($encrypted_id);
0 comments:
Post a Comment