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).
I recommend reading The Comprehensive Guide to URL Parameter Encryption .
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.