Skip to content

oppytut/codegniter-url-encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

codeigniter-url-encryption

A Codeigniter Helper that used to encrypt parameters that sent via URL.

How to use

  1. Copy files to Codeigniter project
  2. Load through controller constructor
    public function __construct()
    {
      parent::__construct();
    
      $this->load->helper('uri');
    }
  3. Use the function on controller or view
    $plain_text = 'This is a plain-text message!';
    $cipher_text = encrypt_url($plain_text);
    
    // outputs: This is a plain-text message!
    echo decrypt_url($cipher_text);

About

Codeingiter URL Encryption Helper

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages