i want to encrypt our url parameters on one page and decrypt on other page for security reason. when i try this then disallowed character error occurs. also i do not want to set $config['permitted_uri_chars']. according to this.
please give me solution that i can able to encrypt parameters with url like-
wwww.domain.com/controller_name/method_name/parameter1/parameter2
and i am using like for encrypt url-
<a href="<?php echo site_url('C_Name/M_Name/'.$this->encrypt->encode($id)); ?>">Link</a>
and i am using like for decrypt url-
echo $this->encrypt->decode($id)
other issue is that its value is being changed randomly.
Please make me understand that how to do this.
Thanks.