security - Save user login credential in Android. What is the best way? -


i want in app after user logged in, or signed in, password, , other strings receive server, stored in device. i'm thinking encrypt data whit keys receive keystore. after did that, should save encrypted data?

i have read save password in local device not best pratice. should store directly on server? here article read here

everything goes on server.when login on device ,store users id(hash on server , return hashed id device).store hashed id of user in shared preferences or in local database.and when want retrieve data(for example user data) send hashed id server ,unshash on server make query.


Comments

Popular posts from this blog

javascript - Clear button on addentry page doesn't work -

c# - Selenium Authentication Popup preventing driver close or quit -

tensorflow when input_data MNIST_data , zlib.error: Error -3 while decompressing: invalid block type -