Recommend this page to a friend! |
All requests | > | Encrypt POST data like SSL | > | Request new recommendation | > | Featured requests | > | No recommendations |
by light yagami - 7 years ago (2016-10-09)
+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. 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. by Manuel Lemos - 7 years ago (2016-10-14) Reply
But what stops you from using that class with CodeIgniter?
Recommend package | |
|