Results 1 to 1 of 1
  1. #1
    Remy
    Remy is offline
    New member
    Join Date
    2013 May
    Posts
    4
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    VB.NET MD5 Encryption

    I made a MD5 Encryption Class a while back, it could be good for sending web requests to a server that requires it. (Might make a web bot tutorial soon)

    Source:
    Code:
    Public Function MD5(ByRef strText As String) As String
            Dim MD5Hash As New System.Security.Cryptography.MD5CryptoServiceProvider
            Dim Bytes() As Byte = MD5Hash.ComputeHash(System.Text.Encoding.ASCII.GetBytes(strText))
            Dim xx As String
            For Each By As Byte In Bytes
                xx += By.ToString("x2")
            Next
            Return xx
        End Function
    Usage:
    Code:
    Dim s, m as string
    s = "Some text here"
    m = MD5(s)
    console.writeline(s & " : " & m)

Similar Threads

  1. [VB] FUD RC4 Encryption
    By The_USDL in forum VB, .NET Framework
    Replies: 0
    Last Post: 2012-01-19, 03:36 AM
  2. [Help] Packets Encryption
    By rhu10 in forum Aika Online
    Replies: 3
    Last Post: 2011-11-30, 12:39 PM
  3. Aika Bin files encryption-decryption
    By Dwar in forum Aika Online
    Replies: 12
    Last Post: 2010-11-30, 05:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •