Re: Internal String Visibility
- From: "Dave O." <nobody@xxxxxxxxxxx>
- Date: Mon, 16 Mar 2009 10:07:24 -0000
"Lorin" <Lorin@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FC411D5B-B5E3-45D9-ACB7-E3748F493F52@xxxxxxxxxxxxxxxx
I am currently thinking I should write an eternal VB6 app to take clear
text
and garble it. Maybe something like what is on Randy Birch's site.
Just a simple NOT AND &HFF per int character is a possiblility.
Or make a byte array and NOT.
Also, could shift left a few bits since usual text printables are in the
0-127 range.
Thoughts?
Well here is an incredibly simple routine to jumble up text, it would be
easy to decrypt as long as it's known to be scrambled text, if it's encoded
in an executable the crypt-text is not obvious.
Public Function EasyEncrypt(Plaintext As String) As String
' Painfully simple encryption for comments etc.
' Same routine to encrypt and decrypt
Dim n As Integer
Dim c As Integer
EasyEncrypt = StrReverse(Plaintext)
For n = 1 To Len(EasyEncrypt)
c = Asc(Mid$(EasyEncrypt, n, 1))
If c > 32 Then
If c > 127 Then
c = 383 - c
Else
c = 160 - c
End If
Mid$(EasyEncrypt, n, 1) = Chr$(c)
End If
Next
End Function
.
- References:
- Internal String Visibility
- From: Lorin
- Re: Internal String Visibility
- From: mayayana
- Re: Internal String Visibility
- From: Lorin
- Internal String Visibility
- Prev by Date: Re: NET Required ???
- Next by Date: Re: NET Required ???
- Previous by thread: Re: Internal String Visibility
- Next by thread: moving controls around on a form
- Index(es):
Relevant Pages
|