PHP Classes

Encrypt POST data like SSL: Encryption and decryption of POST data for codeigniter.

Recommend this page to a friend!
  All requests RSS feed  >  Encrypt POST data like SSL  >  Request new recommendation  >  A request is featured when there is no good recommended package on the site when it is posted. Featured requests  >  No recommendations No recommendations  

Encrypt POST data like SSL

Edit

Picture of light yagami by light yagami - 7 years ago (2016-10-09)

Encryption and decryption of POST data for codeigniter.

This request is clear and relevant.
This request is not clear or is not relevant.

+1

I wanted to request a function or class for codeigniter that can encrypt FORM DATA without SSL. I found a class here for PHP but I would love to have something like that as well for codeigniter.

  • 2 Clarification requests
  • 2. Picture of Eray Akartuna by Eray Akartuna - 7 years ago (2016-10-15) Reply

    Codeigniter has a class about encryption.

    But if you want to use a third-party package you should do these steps.

    1-)Copy package on CodeIgniter’s third party folder located at application\third_party.

    2-)Create a library that initialize the third party class.

    class MyEncryption {

    public function __construct()
    {
        require_once APPPATH.'third_party/cryptopost.php';
       
    }
    

    }

    3-)load the library in your controller $this->load->library("MyEncryption"); $crypto = new Cryptopost(1024, APPPATH.'third_party/openssl.cnf');

    Thats it.You can use like that maybe you should create a subfolder under the third_party folder as a cryptopost.

    • 1. Picture of Manuel Lemos by Manuel Lemos - 7 years ago (2016-10-14) Reply

      But what stops you from using that class with CodeIgniter?

      Ask clarification

      Recommend package
      : 
      :