Last post Apr 08, 2007 05:50 PM by starazam
Apr 08, 2007 12:19 PM|starazam|LINK
Hi, I want to add addional method, TTSecurity Class. That is Decrypt Method. currently it has only Encrypt Method which is used to Encrypt Passwords. I want a method, which can decrypt back the Password in original Text. Please guide in this regard. How
can I do this?
Apr 08, 2007 01:26 PM|TATWORTH|LINK
Why do you need a decrypt version?
What exactly is the class you are trying to add to? Is it part of the DotNet framework?
Probably you do not need the function - all you need to do is encypt the users password and compare it with the encrypted database version.
Apr 08, 2007 03:04 PM|starazam|LINK
Apr 08, 2007 03:19 PM|TATWORTH|LINK
Apr 08, 2007 04:26 PM|starazam|LINK
TTSecurity.vb in application
I think it is using Hash Way
Dim clearBytes As [Byte]()
clearBytes = New UnicodeEncoding().GetBytes(cleanString)
As [Byte]() = CType(CryptoConfig.CreateFromName("MD5"), HashAlgorithm).ComputeHash(clearBytes)
As String = BitConverter.ToString(hashedBytes)
This is the method for encryption......................any way to decrypt back???????
Apr 08, 2007 04:38 PM|TATWORTH|LINK
Apr 08, 2007 05:50 PM|starazam|LINK