Support Forums
[TUT]Encrypt Your Infos[TUT] - Printable Version

+- Support Forums (https://www.supportforums.net)
+-- Forum: Categories (https://www.supportforums.net/forumdisplay.php?fid=87)
+--- Forum: Coding Support Forums (https://www.supportforums.net/forumdisplay.php?fid=18)
+---- Forum: Visual Basic and the .NET Framework (https://www.supportforums.net/forumdisplay.php?fid=19)
+---- Thread: [TUT]Encrypt Your Infos[TUT] (/showthread.php?tid=16222)



[TUT]Encrypt Your Infos[TUT] - ThePrinCe - 02-17-2011

[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)



RE: [TUT]Encrypt Your Infos[TUT] - Mystic Guru - 02-20-2011

Works great for me but you should give credits.


RE: [TUT]Encrypt Your Infos[TUT] - thanasis2028 - 02-27-2011

You can use an obfuscator instead. This way, you don't have to change your code, and it's much more effective.