Click here to Skip to main content
15,884,473 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i entered password in encrypted format and how to retrieve or decrypt it
Posted
Comments
Johnny J. 3-Jun-10 10:35am    
For those who are browsing this: This question was actually reposted and answered in this thread:

http://www.codeproject.com/Questions/85546/Encrypted-password-How-do-you-decrypt-it-again.aspx

That certainly depend on how it was encrypted. If you did that yourself, then you'd know what method was used and how to decrypt it again.

This smells fishy to me...
 
Share this answer
 
Comments
Johnny J. 3-Jun-10 10:35am    
For those who are browsing this: This question was actually reposted and answered in this thread:

http://www.codeproject.com/Questions/85546/Encrypted-password-How-do-you-decrypt-it-again.aspx
VB
Public Function SimpleCrypt1( _
    ByVal encrypt As String) As String
       ' Encrypts/decrypts the passed string using
       ' a simple ASCII value-swapping algorithm
       Dim strTempChar As String, i As Integer
       For i = 1 To Len(Text)
           If Asc(Mid$(Text, i, 1)) < 128 Then
               strTempChar = _
         CType(Asc(Mid$(Text, i, 1)) + 128, String)
           ElseIf Asc(Mid$(Text, i, 1)) > 128 Then
               strTempChar = _
         CType(Asc(Mid$(Text, i, 1)) - 128, String)
           End If
           Mid$(Text, i, 1) = _
               Chr(CType(strTempChar, Integer))
       Next i
       Return Text
   End Function
 
Share this answer
 
Comments
Johnny J. 3-Jun-10 10:35am    
For those who are browsing this: This question was actually reposted and answered in this thread:

http://www.codeproject.com/Questions/85546/Encrypted-password-How-do-you-decrypt-it-again.aspx

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900