I want to encrypt the url (except domain name part) in listing page and then decrypt the url so as to execute the request.
suppose my domain is localhost and my controller is suppliers and action/method is editAction and supplier id is 55 then my url is http://localhost/suppliers/edit/55
now i want to put this link in my suppliers listing page and it must be look like as follows after encryption
means I have to encrypt whole link except the domain name part.
and when anybody click on it then on server part it must be decrpted into original one so that it can be excuted like controller as suppliers and method as editAction and ID as 55 (http://localhost/suppliers/edit/55)