It's standard situation. There is no ideal lock. Every lock can be opened. Better lock just takes more time, more experience and better instruments to open it. So it's always about one question. Is it worth hacker's time and effort? Just use some sort of cipher. It will protect your password from naive hacking, i.e. will require decompilation and/or debugging. This will take away 90% of possible hackers. There are tools to make decompilation and debugging much harder. Such tools usually add extra code to make code logic understanding much harder. May be also some anti-debugging measures. Funny thing, but even simple custom anti-decompilation/debugging measures can be more effective, than standard ones, cuz standard ones can already be cracked and your custom tools will require some time to research. In this case it would take too much effort for hacker to crack your password, so he'll most likely give up.