security - Hiding Strings Securely on Android Device -


problem: need store secret key (string) locally on device. how reasonably this?

it impossible keep 100% securely private stored locally want make difficult possible extract secret key. options?

requirements

  • there should no ui operations involved.
  • the secret key should not extractable in trivial way.

possible solutions

you can put layer of encryption on sharedpreferences , store secret key(s) there itself.

i used these references in 1 of apps , should helpful in case too.

first link: http://right-handed-monkey.blogspot.com/2014/04/obscured-shared-preferences-for-android.html

second link: what appropriate way store user settings in android application


Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

r - Update two sets of radiobuttons reactively - shiny -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -