Im developing a system which a android client send and receive data from a mysql database (connected to a java restfull webservice).
To do the authentication method, i dont want to send id&pass in clean text in the URL. Maybe hash and cryptography methods are apropriate, with CHAP or one time pad to avoid replay attacks. But im not sure if this is enough.
Maybe use cryptographic tokens its a better way. But im new with this concept. Any other sugestions or good tutorial for this case?