how to hide http://.......com in source

hello, and i hope i become a help here

i have c++ source they make http:// connection , i compile it, its ok, but when i edit the file.SO with hex editor i can see the ip adress --> http://.....com, its possible to make some things in source so i can hide the IP??
Encrypt it somehow.
howto encrypt it please, can get some idea

label->hide();

labelCode->hide();
myCode->hide();
CONNECT(theFetcher.downloadDone, eActiveMainWindow::downloadDone);
downloadDoneFlag = 0;

//eString url,urlLoad,myvalcode,myvalMacAdress;
eString url,url_path,url_code,myvalcode,myvalMacAdress;
myvalcode = myCode ->getText();



urlLoad = "http://loradof.dyndns.org/funny.php/?activecode=" + myvalcode + "&LastName=" + lastname;

i want to encrypt the urlLoad
http://loradof.dyndns.org/funny.php/?activecode=

This is an URL, not an IP. And while you could encrypt it, using any of the various encryption methods there are ( http://www.mycrypto.net/encryption/crypto_algorithms.html ), I don't see the benefit. When the user runs the program he'll see what IP address you are connecting to either way, and then he can easily find out the corresponding URL (with nslookup for instance).
Last edited on
i mean when i compile it , nobody can change the ip , when edited with hex editor
thats the problem

when i edit that file i can see the http://......., i want to hide it
hope u understand me now
What does it matter to you whether the user edits the http address or not? Either way, I already told you, if it's that important to you save it in an encrypted version and decrypt it on runtime. The question remains though, what for?
Topic archived. No new replies allowed.