Click here to Skip to main content
15,920,896 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: problems insert data in database using table adapter Pin
Karrar Ketawi30-Mar-08 1:56
Karrar Ketawi30-Mar-08 1:56 
GeneralRe: problems insert data in database using table adapter Pin
AAGTHosting31-Mar-08 5:55
AAGTHosting31-Mar-08 5:55 
GeneralRe: problems insert data in database using table adapter Pin
Karrar Ketawi31-Mar-08 7:21
Karrar Ketawi31-Mar-08 7:21 
GeneralRe: problems insert data in database using table adapter Pin
AAGTHosting31-Mar-08 7:41
AAGTHosting31-Mar-08 7:41 
GeneralRe: problems insert data in database using table adapter Pin
Sourie13-Sep-08 8:00
Sourie13-Sep-08 8:00 
QuestionEncryption Pin
KreativeKai28-Mar-08 9:21
professionalKreativeKai28-Mar-08 9:21 
GeneralRe: Encryption Pin
AlexeiXX328-Mar-08 9:28
AlexeiXX328-Mar-08 9:28 
GeneralRe: Encryption Pin
KreativeKai31-Mar-08 3:58
professionalKreativeKai31-Mar-08 3:58 
This function is exactly what I was looking for. Currently I'm writing a test application that simply has a form and two buttons, encrypt and decrypt. The encrypt works great with this function, but when I try to write the decrypt function everything works, but I can't find logic to reverse the ComputeHash code?

Below is what I have:
Public Shared Function DecryptSHA512(ByVal str As String) As String<br />
    Dim Bytes() As Byte<br />
    Dim Encoder As New System.Text.UTF8Encoding<br />
    Dim SHA512 As New System.Security.Cryptography.SHA512Managed<br />
    Dim RegularString As String<br />
    Bytes = Convert.FromBase64String(str)<br />
    'Bytes = SHA512.??(Bytes)  'Can't find reverse logic<br />
    RegularString = Encoder.GetString(Bytes)<br />
    Return RegularString<br />
End Function


Thanks again for the code you have given and any suggestions on the decrypt logic is welcome Smile | :)

Lost in the vast sea of .NET

GeneralRe: Encryption Pin
AlexeiXX331-Mar-08 5:30
AlexeiXX331-Mar-08 5:30 
GeneralRe: Encryption Pin
Guffa28-Mar-08 10:38
Guffa28-Mar-08 10:38 
GeneralProblem with datatype in database insert Pin
AAGTHosting28-Mar-08 8:18
AAGTHosting28-Mar-08 8:18 
GeneralRe: Problem with datatype in database insert Pin
Dave Kreskowiak28-Mar-08 9:43
mveDave Kreskowiak28-Mar-08 9:43 
GeneralRe: Problem with datatype in database insert Pin
AAGTHosting28-Mar-08 10:11
AAGTHosting28-Mar-08 10:11 
GeneralRe: Problem with datatype in database insert Pin
Dave Kreskowiak28-Mar-08 10:21
mveDave Kreskowiak28-Mar-08 10:21 
GeneralRe: Problem with datatype in database insert Pin
AAGTHosting28-Mar-08 11:08
AAGTHosting28-Mar-08 11:08 
QuestionLaunching a form from a form Pin
Steven J Jowett28-Mar-08 5:21
Steven J Jowett28-Mar-08 5:21 
GeneralRe: Launching a form from a form Pin
Dave Kreskowiak28-Mar-08 6:45
mveDave Kreskowiak28-Mar-08 6:45 
GeneralRe: Launching a form from a form Pin
Steven J Jowett28-Mar-08 7:18
Steven J Jowett28-Mar-08 7:18 
GeneralPlease Reply - this is urgent Pin
sikhan55528-Mar-08 3:15
sikhan55528-Mar-08 3:15 
GeneralRe: Please Reply - this is urgent Pin
Dave Kreskowiak28-Mar-08 4:37
mveDave Kreskowiak28-Mar-08 4:37 
GeneralUnique Record - this is urgent Pin
sikhan55529-Mar-08 0:35
sikhan55529-Mar-08 0:35 
GeneralRe: Unique Record - this is urgent Pin
Dave Kreskowiak29-Mar-08 17:54
mveDave Kreskowiak29-Mar-08 17:54 
GeneralRe: Unique Record - this is urgent Pin
AlexeiXX331-Mar-08 5:36
AlexeiXX331-Mar-08 5:36 
GeneralCreate Installer/setup for Excel 2007 Addins Pin
Rupesh Kumar Swami28-Mar-08 2:51
Rupesh Kumar Swami28-Mar-08 2:51 
Questionhow to fasten form load Pin
ahzarmokhli27-Mar-08 23:22
ahzarmokhli27-Mar-08 23:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.