I try to send variable through URL. So I use this CI method
$this->encrypt->encode($variable)
And i decode it in the destination. but it doesn't return a correct value. encoded value example :
pWI+q72keVNJtpaZgJdxfwuKtqM2VrNMGhpnknsrf/3dadh0x+lU70h9hgSwFzTWQAEclSfoSZ2J3/UOuLVwgA==
I realize there are too much special characters here such as +/=
. And to allow these characters in URI will be unwise.
If that so, is this function can't be implemented to secure data sent through URL?