What is the best way to encode and decode parameters in website link?
I need encode user id by android or ios system and send this parametr to PHP server.
For example: www.example.com/getData.php?uid=[encode id]
Mobiles -> encode
Server -> decode
I am looking for a good algorithm for all platforms (Android, iOS and PHP).