Support Forums

Full Version: [TUT]Encrypt Your Infos[TUT]
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
[TUT]Encrypt Your Infos[TUT]

In this tutorial i will explain how to add an encryption to your info ( i saw a newbie asking fo that )

So let's take my Logger :
[Image: 20110206074935.jpg]

we will add an encryption for the " username " & " the password" & " smtp" & " port"

we add base 64 :
[Image: base64.jpg]

for username = textbox1
for password = textbox2
for smtp = textbox3
for port = textbox4

to encrypt :
Code:
TextBox1.Text = EncryptMe(Me.TextBox1.Text)
            TextBox2.Text = EncryptMe(Me.TextBox2.Text)
            TextBox3.Text = EncryptMe(Me.TextBox3.Text)
            TextBox4.Text = EncryptMe(Me.TextBox4.Text)

To decrypt :
Code:
TextBox1.Text = DecryptMe(TextBox1.Text)
            TextBox2.Text = DecryptMe(TextBox2.Text)
            TextBox3.Text = DecryptMe(TextBox3.Text)
            TextBox4.Text = DecryptMe(Me.TextBox4.Text)
Works great for me but you should give credits.
You can use an obfuscator instead. This way, you don't have to change your code, and it's much more effective.