Download Mediafire ไม่ได้ อ่านทางนี้ !!โปรโมชั่นปักหมุดกระทู้ !! | ระบบ Vip System-4x Naruto 700 | One Piece 783 | Bleach 623
0 สมาชิก และ 1 บุคคลทั่วไป กำลังดูหัวข้อนี้
Public Class Form1 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load End Sub Private Function GenerateHash(ByVal strToHash As String) As String Dim md5Obj As New Security.Cryptography.MD5CryptoServiceProvider Dim bytesToHash() As Byte = System.Text.Encoding.ASCII.GetBytes(strToHash) bytesToHash = md5Obj.ComputeHash(bytesToHash) Dim strResult As String = "" For Each b As Byte In bytesToHash strResult += b.ToString("x2") Next Return strResult End Function Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click TextBox2.Text = GenerateHash(TextBox1.Text) 'Output = MD5Hash(Input) End SubEnd Class