Any "Encryption" method you use can be easily reversed by looking at the addon's code. This is 100% unavoidable.
So you can use really good encryption methods but again, it won't be as secure as the key.dat.
If you're okay with that then I might be able to set you up with something easy-to-implement.