Hello,
I'm developing a plugin using the enigma2 python API we all know, I need to call functions that communicate with my remote server but I don't want the end user to know how I create the token to get info from the remote server. So i was thinking to code this part in c++ so that it can compiled and it's not clear like with python.
Would that be possible?
Just keep in mind that in order to be compatible with OpenPLi GPLv2 licensing, you'll have to provide the source code. You can do on your own box whatever you please, of course, that's the whole purpose of the copyleft licensing, but you won't be allowing your plugin to be distributed on GPLv2 images like OpenPLi and all its derivatives.
Regardless of licensing, there are now about 4 different CPU types, so you'll have to provide source code or lots of binaries anyway.
If you just want to protect your server, how about just setting up a user account system, so that users have to register before they can use it, and you can easily lock out the script kiddies.