MD5 to Text
Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
7 posts
Page 1 of 1
How can i get a MD5 text string to text?
I'm having issue's getting this to work lol, so i thought i would ask
- Livengood
I'm having issue's getting this to work lol, so i thought i would ask

- Livengood
You can convert it to a hex string with this:
Code: Select all
Dim m As MD5 = MD5.Create()
Dim input As Byte() = {1, 2, 3, 4} 'example byte array
Dim hash As Byte() = m.ComputeHash(input)
m.Clear()
Dim hexString As String = ""
For i As Integer = 0 To hash.Length - 1
hexString += hash(i).ToString("X2")
Next
MsgBox(hexString)
thanks mandai 
is this for converting text to md5?
cause i need it to convert md5 to text

is this for converting text to md5?
cause i need it to convert md5 to text
Can you even convert MD5 to text?
Bound and boom tech,
The Future Of Coding
The Future Of Coding
i copied and paste this code to a button's funtion, but it tells me
"MD5 IS NOT DECLARED"
"MD5 IS NOT DECLARED"
mandai wrote:Did you import System.Security.Cryptography?there you go
but what about the tool?
what is textbox1.text dimed as?
7 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023