I recently had to deal with this situation. The problem is not so much that someone cannot easily find it using a hex editor, but rather when it sends various APIs by wire. Just starting the violinist and looking at the requests will show the key independently. Some APIs will have the advantage of a private / public key, which helps a bit.
The only solution I could come up with was to create a web service of my own external hosting that acted as a proxy between the client and the target API. This allowed me to generate separate keys for each terminal that I could activate / deactivate, and most of the sensitive data was stored in a remote proxy application.
Good luck
~ "Don't forget to drink your ovaltin"
used2could
source share