hello people
here is example how to hash something
I want to set key for that but i don't know how??
Code works but how can i put secret key code and after that decrypt
sorry for my english :)
Sub Main()
Dim x_str As String = "Some text"
Dim x_message_data( ) As Byte = Encoding.Defaul t.GetBytes(x_st r)
Dim x_hash_code As HashAlgorithm = HashAlgorithm.C reate("MD5")
Dim x_hash_message( ) As Byte = x_hash_code.Com puteHash(x_mess age_data)
Dim x As Byte
For Each x In x_hash_message
Console.Write(x )
Next
Console.ReadLin e()
End Sub
here is example how to hash something
I want to set key for that but i don't know how??
Code works but how can i put secret key code and after that decrypt
sorry for my english :)
Sub Main()
Dim x_str As String = "Some text"
Dim x_message_data( ) As Byte = Encoding.Defaul t.GetBytes(x_st r)
Dim x_hash_code As HashAlgorithm = HashAlgorithm.C reate("MD5")
Dim x_hash_message( ) As Byte = x_hash_code.Com puteHash(x_mess age_data)
Dim x As Byte
For Each x In x_hash_message
Console.Write(x )
Next
Console.ReadLin e()
End Sub
Comment