... so that browsing the disassembly won't immediately expose the password (declared as a static variable). As an example, imagine a program that has a zip file attached that it must open for assets but is not easily accessible to prying eyes.
I know that it is impossible to completely hide or protect that zip but I'm curious what means are available to at least hold off a casual snooper.
Thanks!
No but there are things you can do to make it harder.
Store the password as a series of numbers, do some calculations on them to generate the actual password, store parts of the password in resources such as icons etc.