Lets say I have a string that I will use somewhere in a final program, I assume that when I compile the program, that the string will be viewable in a hex-editor.
If I wanted to make sure someone couldn't find or change that text in a hex-editor, how could I go about that?
One method I thought of was to add x to the ascii number of each character in the string, and then subtract x from each character as it is used in the program, but maybe there is a standard way to use in PB?
Hiding text in the compiled final program.
Re: Hiding text in the compiled final program.
I guess that there is AESEncoder() and AESDencoder() in PB, but I have never used that.
Maybe before someone (qualified) can give a serious answer here, the questions must be allowed:
+What do you need it for?
+ Who should be prevented from doing so?
As with other (similar) topics, the amount of effort required depends on the size of the expected threat.
Maybe before someone (qualified) can give a serious answer here, the questions must be allowed:
+What do you need it for?
+ Who should be prevented from doing so?
As with other (similar) topics, the amount of effort required depends on the size of the expected threat.
Just because it worked doesn't mean it works.
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
PureBasic 6.04 (x86) and <latest stable version and current alpha/beta> (x64) on Windows 11 Home. Now started with Linux (VM: Ubuntu 22.04).
Re: Hiding text in the compiled final program.
Take a look to this thread:
https://www.purebasic.fr/english/viewtopic.php?t=79212
https://www.purebasic.fr/english/viewtopic.php?t=79212
Re: Hiding text in the compiled final program.
That's brilliant, thanks.Caronte3D wrote: Tue Mar 04, 2025 3:49 pm Take a look to this thread:
https://www.purebasic.fr/english/viewtopic.php?t=79212

