there any way to do the same trick again (to hide text in a compiled exe)?
Code: Select all
; The text "hidden" should NOT appear in a hex editor.
a$=Chr('h')+Chr('i')+Chr('d')+Chr('d')+Chr('e')+Chr('n')
Code: Select all
; The text "hidden" should NOT appear in a hex editor.
a$=Chr('h')+Chr('i')+Chr('d')+Chr('d')+Chr('e')+Chr('n')
Code: Select all
Procedure.s dEnc(string.s,pass.s)
If string.s=""
ProcedureReturn ""
Else
For a=1 To Len(pass.s)
charval=Asc(Mid(pass.s,i,1))
myarr=myarr+charval
Next a
For i=1 To Len(string.s)
myenc=Asc(Mid(string.s,i,1)) ! myarr
mystr.s=mystr.s+Chr(myenc)
Next i
ProcedureReturn mystr
EndIf
EndProcedure
Code: Select all
a$=Chr(Asc("h"))+Chr(Asc("i"))+Chr(Asc("d"))+Chr(Asc("d"))+Chr(Asc("e"))+Chr(Asc("n"))

Hi, don't complain. It seems a fixed bugPB wrote:@Fred: This trick used to work, but doesn't work anymore with v3.92... is
there any way to do the same trick again (to hide text in a compiled exe)?
Code: Select all
; The text "hidden" should NOT appear in a hex editor. a$=Chr('h')+Chr('i')+Chr('d')+Chr('d')+Chr('e')+Chr('n')

Code: Select all
Dim Char.s(255)
Restore Characters
Read a$
For i = 1 To Len(a$)
b$ = Mid(a$, i, 1)
Char(Asc(b$)) = b$
Next
b$ = Char('H')+Char('e')+Char('l')+Char('l')+Char('o')
Debug b$
End
DataSection
Characters:
Data.s "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ01234546789"
EndDataSection