[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.8

Vb.net Encryption

Asked by jimseiwert in Microsoft Visual Basic.Net

We have code that encrypts passwords for us that an ex developer wrote. We need to decrypt passwords from our database. Can someone head me down the path of how to do this.

Thank you
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
Public Function encrypt_adage_pw(ByRef inp_str As String) As String
		Dim change_numer As Short
		'Dim inp_str As String
		Dim passwd As String
		Dim status As Short
		Dim seed As Short
		Dim encrypt_key As New VB6.FixedLengthString(62)
		Dim encrypt_len As Short
		Dim i As Short
		Dim inp_len As Short
		Dim acc_tot As Short
		Dim no_of_chars As Short
		Dim ord_inp_char As Short
		Dim op_char As String
		Dim ord_op_char As Short
		Dim decmal As Short
		Dim hex_str As String
		Dim change_number As Short
		'inp_str = Text1.Text
		
		change_number = 2
		encrypt_key.Value = "bDf&3Rt]xQ5!M\sqO/>kGNArm9:iX@(0+S""$ec[ZpHJy}zgVwoLvTK2<=4dFnEWhY1|aPU8)7^lB-jC{6.;`#u*_%,?~I"
		no_of_chars = Len(encrypt_key.Value)
		encrypt_len = 8
		
		If Len(inp_str) < 8 Then
			inp_str = New String(" ", 8 - Len(inp_str))
		End If
		
		inp_len = Len(inp_str)
		If inp_len = 0 Then
			Exit Function
		End If
		
		i = 1
		While i <= inp_len
			
			decmal = 0
			hex_str = (Right(Left(inp_str, i), 1))
			decmal = Asc(hex_str)
			seed = seed + decmal
			i = i + 1
		End While
		hex_str = " "
		decmal = 0
		
		acc_tot = seed
		passwd = ""
		i = 1
		While i <= encrypt_len
            ord_inp_char = i Mod inp_len
			If ord_inp_char = 0 Then
				ord_inp_char = inp_len
			End If
			decmal = 0
			hex_str = Right(Left(inp_str, ord_inp_char), 1)
			decmal = Asc(hex_str)
			acc_tot = acc_tot + decmal + i + ord_inp_char
			ord_op_char = (acc_tot Mod no_of_chars) + 1
			op_char = Right(Left(encrypt_key.Value, ord_op_char), 1)
			passwd = Trim(passwd) & op_char
			i = i + 1
		End While
		encrypt_adage_pw = passwd
 
Related Solutions
Keywords: Vb.net Encryption
 
Loading Advertisement...
 
[+][-]03/07/08 08:22 AM, ID: 21071673Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/07/08 08:34 AM, ID: 21071817Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/07/08 08:45 AM, ID: 21071951Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/07/08 08:47 AM, ID: 21071982Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/26/08 05:11 PM, ID: 21217649Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/28/08 04:37 AM, ID: 21229411Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/28/08 05:21 AM, ID: 21229662Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/29/08 07:17 PM, ID: 21239263Administrative Comment

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 30-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]03/31/08 07:25 AM, ID: 21245628Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]03/31/08 09:33 AM, ID: 21246909Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/31/08 03:19 PM, ID: 21249679Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/31/08 03:51 PM, ID: 21249858Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]03/31/08 05:26 PM, ID: 21250312Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/01/08 03:13 PM, ID: 21258618Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/02/08 09:43 AM, ID: 21264885Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/03/08 11:07 AM, ID: 21275223Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/08/08 04:27 PM, ID: 21310556Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/09/08 08:40 AM, ID: 21316069Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/10/08 10:41 AM, ID: 21327397Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/11/08 01:45 PM, ID: 21338075Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zone: Microsoft Visual Basic.Net
Sign Up Now!
Solution Provided By: aikimark
Participating Experts: 2
Solution Grade: A
 
[+][-]04/16/08 05:18 AM, ID: 21366872Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/18/08 11:35 AM, ID: 21388459Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/18/08 11:56 AM, ID: 21388648Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04/18/08 12:33 PM, ID: 21388933Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04/18/08 01:06 PM, ID: 21389172Assisted Solution

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 30-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04/18/08 02:26 PM, ID: 21389763Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20091111-EE-VQP-89 / EE_QW_2_20070628