java - Keep the value of a string secret -


i have string in android application (in java) key encrypt , decrypt messages.

it's simple string declare :

final static string mykey = "thekey"; 

the key never changes (and never displayed in app, nor sent through network or else, "stays" in app).

is there way people have apk value of string in app?

if answer yes, best way sure value of string can stay secret?

is there way people have apk value of string in app ?

yes, via decompiling.

what best way sure value of string can stay secret ?

remove apk. or, not worry being discovered.

there steps can take make incrementally more difficult retrieve value, such using dexguard package production app. however, not deter wants value.


Comments

Popular posts from this blog

php - Admin SDK -- get information about the group -

dns - How To Use Custom Nameserver On Free Cloudflare? -

Python Error - TypeError: input expected at most 1 arguments, got 3 -