> What I had in mind was literally obfuscating, no encoding/decoding.
> I mean, just replace the variable names, labels, now function names
> with random series of alphanumerics up to its length limit (63?). But,
>   your idea may be more securable, but don't know if it's feasible. I
> haven't thought about it seriously as I've never felt the need of
> obfuscation myself.

Here's a ROT-13 code snippet from Ted that I pulled out of the archives
(1/13/05 - Re: ROT13 - Scramble/Unscramble the clipboard with ROT13). Might
be able to be adapted to work for the obfuscation purpose.

LOCAL answer, s=CLIP.Get
LOCAL k,n=LENGTH(s)
LOCAL b="ABCDEFGHIJKLMNOPQRSTUVWXYZ"
LOCAL c="NOPQRSTUVWXYZABCDEFGHIJKLM"

FOR(LOCAL i=1; i<=n; i=i+1)
k = INDEX(c,SELECT(s,i,i))
IF(k!=0)DO
answer = answer++SELECT(b,k,k)
ELSE
answer = answer++SELECT(s,i,i)
ENDIF
ENDFOR

;WIN.Debug(answer)
CLIP.Set(answer)
;CLIP.SetPaste
QUIT

-------------

I also included a link to an autoit snippet around the same time as well:
http://groups.yahoo.com/group/AutoItList/message/26343

David Troesch  |  Atlanta, GA  |  ICQ# 2333123
"Unless you try to do something beyond what you have already mastered, you
will never grow."
Funstuff: The difference between genius and stupidity is that genius has its
limits.

Reply via email to