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

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

python - Pygame screen.blit not working -

c# - Web API response xml language -