02-17-2011, 01:40 AM
[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 :
we will add an encryption for the " username " & " the password" & " smtp" & " port"
we add base 64 :
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)