Reputation: 0 Apprentice
- New Members
- Active Posts:
- 6 (0 per day)
- 12-January 06
- Profile Views:
- Last Active:
- Jul 14 2011 06:11 PM
- OS Preference:
- Favorite Browser:
- Internet Explorer
- Favorite Processor:
- Favorite Gaming Platform:
- Dream Kudos:
Posts I've Made
Posted 11 Jul 2011In the code above I would like to say I have tried to get the multi textbox to decrypt, but it will encrypt it?
so I left that part out that I did for this code to try to make both encrypt.
so I guess this encrypt method is supposed to encrypt input fields, I am new to how to do this, but what if I used this in my visual basic software for my $db_name $username $password
do I keep this encrypted code within my software? and what about the decrypt method do I keep that in there too? lol for it all to work?
or maybe just include the encrypted part, but not the decrypt part, when you need to decrypt it just put back the decrypt part?
how does this work for when a user types in there password online? when a user types in there password how does it encrypt that? looks like there is a command to auto encrypt when a user clicks the submit button?
I'm just trying to understand how this works for websites online, and how it can work for when I want to use this for a software in visual basic 2008
Posted 11 Jul 2011I have found a tutorial that does a two way for the md5
encrypt and decrypt it?
Public Class Form1 ' Brandonio21 'Postby xolara » Fri Apr 01, 2011 12:19 pm 'I have posted a code here on bpforums 'It encrypts the text you input with a password of your choice '1 Form '2 Textboxes 1 of them is multilined and the other is for password '2 buttons Encrypt and Decrypt 'http://bpforums.info/viewtopic.php?f=9&t=262&sid=8f376c756486c398d6f86342797211a0 Dim DES As New System.Security.Cryptography.TripleDESCryptoServiceProvider Dim Hash As New System.Security.Cryptography.MD5CryptoServiceProvider Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Try DES.Key = Hash.ComputeHash(System.Text.ASCIIEncoding.ASCII.GetBytes(password.Text)) DES.Mode = Security.Cryptography.CipherMode.ECB Dim DESEncrypter As System.Security.Cryptography.ICryptoTransform = DES.CreateEncryptor Dim Buffer As Byte() = System.Text.ASCIIEncoding.ASCII.GetBytes(password.Text) password.Text = Convert.ToBase64String(DESEncrypter.TransformFinalBlock(Buffer, 0, Buffer.Length)) Catch ex As Exception MessageBox.Show("The following error(s) have occurred: " & ex.Message, Me.Text, MessageBoxButtons.OK, MessageBoxIcon.Error) End Try End Sub Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click Try DES.Key = Hash.ComputeHash(System.Text.ASCIIEncoding.ASCII.GetBytes(password.Text)) DES.Mode = Security.Cryptography.CipherMode.ECB Dim DESDecrypter As System.Security.Cryptography.ICryptoTransform = DES.CreateDecryptor Dim Buffer As Byte() = Convert.FromBase64String(password.Text) password.Text = System.Text.ASCIIEncoding.ASCII.GetString(DESDecrypter.TransformFinalBlock(Buffer, 0, Buffer.Length)) Catch ex As Exception MessageBox.Show("The following error(s) have occurred: " & ex.Message, Me.Text, MessageBoxButtons.OK, MessageBoxIcon.Error) End Try End Sub End Class
Posted 11 Jul 2011in this code, I want to add user validating keys, I want to check my key variables by my online activation system?
I want the user to type in there key that they got off my website into this visual basic project?
how does visual basic call php variables for validating user keys?
Posted 11 Jul 2011in that script above, how about letting the user have an option to enter a license key?
this license key can be tracked online, using an online activation system, validating user keys if they have bought it? you need this option most importantly.
Posted 11 Jul 2011I don't know if this will work but this is a thought, how about making it from the date that it was registered? or using your own websites system date? instead of the users?
I need all the codes for your whole script to come up with a solution?
is this connected to your website in any way?
I don't see where you have setup license keys for your software, is this the whole script?
all be glad to help out if I knew what this is supposed to do, and if it was connected to a website for validating keys.
you can make your key systems on your website and then have a validating form in visual basic to check user keys.
- Member Title:
- New D.I.C Head
- Age Unknown
- Birthday Unknown
- Years Programming:
- Programming Languages:
- learning c and c++, python,
- Click here to e-mail me