Better program encryption...
Better program encryption...
Yup... open any PB-made program with Notepad or something similar. Any strings you've declared in the code (AKA: Ex: String="ThisIsMyString") will be seen as ThisIsMyString in a place at the... let's say 70% of all the rubbish text (30% is understandable)... and that's not good, overall if you store passwords, IP addresses or important stuff in there...
-
- Enthusiast
- Posts: 767
- Joined: Sat Jan 24, 2004 6:56 pm
Re: Better program encryption...
MrMat gave me a fixed example of storing "hidden" strings like so:
If you create an exe with this, you won't see "hidden" if you open the exe
in Notepad or a hex editor. This is the easiest way to hide text in an exe,
but it's by no means secure in any way. Good to stop casual snooping.
Code: Select all
a.l=0
a$=Chr('h'+a)+Chr('i'+a)+Chr('d'+a)+Chr('d'+a)+Chr('e'+a)+Chr('n'+a)
in Notepad or a hex editor. This is the easiest way to hide text in an exe,
but it's by no means secure in any way. Good to stop casual snooping.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
"PureBasic won't be object oriented, period" - Fred.