Hidden text trick no longer works

Everything else that doesn't fall into one of the other PB categories.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

u said something about arrays but i didnt get it was this way you wanted to do it.
Well it seems to work great, but it is still easier to use my simple Xor With PW procedure :P+
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

Thanks for the tip, Pupil -- that works fine... although I'm not sure I like seeing
the alphabet in my exe with a hex editor... kind of gives it away that I've got
something to hide. I wish there was a simple one-line way like I used to do.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
MrMat
Enthusiast
Enthusiast
Posts: 762
Joined: Sun Sep 05, 2004 6:27 am
Location: England

Post by MrMat »

Does this work ok?

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)
Mat
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

@MrMat: AWESOME! :D That's what I'm looking for -- thanks!

@Pupil: I was just about to modify your code so that the Data string was
replaced with a loop that defines each alphabetic character (so that the
string ABCD... wouldn't show in a hex editor), so again thanks for your
contribution; but as you can see MrMat's is a lot simpler and easier.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
MrMat
Enthusiast
Enthusiast
Posts: 762
Joined: Sun Sep 05, 2004 6:27 am
Location: England

Post by MrMat »

Glad to help PB! :D
Mat
Post Reply