26-11-18, 07:34 PM
مرحبا
اعمل على برنامج واحتاج اشفر النصوص فيه
بحثت ما وجدت الا تشفير اما فك التشفير فما وجدت عنه شي
وهذا هو كود التشفير واحتاج كود فك التشفير
وشكرا
اعمل على برنامج واحتاج اشفر النصوص فيه
بحثت ما وجدت الا تشفير اما فك التشفير فما وجدت عنه شي
وهذا هو كود التشفير واحتاج كود فك التشفير
وشكرا
كود :
Public Shared Function getMD5Hash(ByVal strToHash As String) As String
Dim md5Obj As New System.Security.Cryptography.MD5CryptoServiceProvider()
Dim bytesToHash() As Byte = System.Text.Encoding.ASCII.GetBytes(strToHash)
bytesToHash = md5Obj.ComputeHash(bytesToHash)
Dim strResult As String = ""
Dim b As Byte
For Each b In bytesToHash
strResult += b.ToString("x2")
Next
Return strResult
End Function