Allahmuad Abu Zhar
Member
In my last thread i had a "algorithm" that i had created using pure vb.net, but the only thing i did there was combining multiple algorithms together. I wanna create my own instead. I have tested this piece of code:
Dim byted As Byte() = System.Text.Encoding.UTF8.GetBytes(sPassword)
Dim sb As New StringBuilder
For Each b As Byte In byted
sb.Append(b.ToString("x2").ToUpper)
Next
Return sb.ToString()
and everyone time i change something in the str the bytes also change, now can i take this as my advantage?, Because when i get the md5 hash of a string i also use this piece of code but with the md5cryptoserviceprovider.
Dim byted As Byte() = System.Text.Encoding.UTF8.GetBytes(sPassword)
Dim sb As New StringBuilder
For Each b As Byte In byted
sb.Append(b.ToString("x2").ToUpper)
Next
Return sb.ToString()
and everyone time i change something in the str the bytes also change, now can i take this as my advantage?, Because when i get the md5 hash of a string i also use this piece of code but with the md5cryptoserviceprovider.