php - How to encrypt in device and decrypt in server side with encryptoin key -


what best practice encode string encryption key(like password) in device

side(android , ios).and decode encoded string in server side encryption

key used in device side.

you try 1 of following

  • rsa encryption:

    encrypt using public key in ios device , decrypt using private key in web service

  • host web service ssl certificates

  • set secured vpn , access service through vpn.

since mentioned encrypting passwords.salting , hashing password preferred.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -