I have a project which involves using C++ files along with an API on a local PC to communicate with a remote server app, and for sake of maintaining a semblance of non-disclosure with any hired developer(s), I'd like to 'mask' the context of the logic by renaming all variables to something less-obvious.
However, the local C++ app must of course use the functions/commands supplied by the API vendor to interact with the remote server, so I'd like to also create an 'intermediate API' to mask both the send commands, and return parameter names, with intent to completely remove access to the actual names used by the API.
Finally, once the code is delivered to me, I could reference another file in TXT, CSV, or other format and do a bulk 'find-&-replace' rename of the variables, and discard the intermediate API.
So, questions are:
- How complex/feasible would this be?
- How much time might such a thing take for an array of 20 command/return pairs (so 40 names in total)? Just a ballpark estimate (e.g. 15 hours).
- If such a practice is already well-established and built out as a readily-available package/library, what name(s) do such items go by and where to download them?
I have read through this thread ( Why do programming languages allow shadowing/hiding of variables and functions? ), and understand that debugging would be made more cumbersome...I can act as secondary programmer for that aspect of the build.