I've inherited a mobile app which sends auth credentials (userid/password) in the clear.
I'd imagine that I have 2 choices: a) use TLS. b) write my own auth protocol.
If I choose (b) what are the key guidelines that I must follow to make it it secure. e.g. how to avoid replay attacks, encryption strategies. Thanks