I'm a newly registered user to alliedmodders but NOT a new visitor.
I personally wish to thanks every amx coders here that helped advance this wonderful metamod plugin.
Ok, lets jump in.
My issue is quite simple to understand. I got a plugin I'm working on that connects the user management system of a website to the cs server the plugin is on. [I just wish users to have same nick and steamID as on the website.]..
As such, the plugin will contain some data as SQL query string or SQL db infos.
Code:
#define SQL_DB "amxsys_db"
#define SQL_USRN "johnally"
#define SQL_TBL "amxsys_tbl"
How can I protect that information(mostly the strings) from being seen if ever the plugin is decompiled.
I did some research here:
[unsecure] ROT13
[ONE way hash] MD5
[unsecure] xTea
[very unsecure] Base64
How should I tackle that issue?. Even when I handle a socket connection from the plugin I wish to encrypt the transmitted data to prevent anyone from tampering it.
Any suggestions highly appreciated,