Results 1 to 2 of 2
  1. #1
    jstyler
    jstyler is offline
    New member
    Join Date
    2013 Jul
    Posts
    5
    Thanks Thanks Given 
    1
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    Cool MD5 Encrypting easily in VB.net

    Hey guys,

    im just releasing my new MD5 Encrypting Function to make it easier getting a MD5 String.

    Code:

    PHP Code:
        Public Function MD5StringHash(ByVal strString As String) As String
            Dim MD5 
    As New MD5CryptoServiceProvider
            Dim Data 
    As Byte()
            
    Dim Result As Byte()
            
    Dim Res As String ""
            
    Dim Tmp As String ""

            
    Data Encoding.ASCII.GetBytes(strString)
            
    Result MD5.ComputeHash(Data)
            For 
    As Integer 0 To Result.Length 1
                Tmp 
    Hex(Result(i))
                If 
    Len(Tmp) = 1 Then Tmp "0" Tmp
                Res 
    += Tmp
            Next
            
    Return Res
        End 
    Function 
    Have Fun,
    greets jstyler.

  2. #2
    LilGhost
    LilGhost is offline
    Guest
    Join Date
    2013 Dec
    Posts
    3
    Thanks Thanks Given 
    0
    Thanks Thanks Received 
    0
    Thanked in
    0 Posts
    Rep Power
    0

    This is not encrypting

    Just to clarify for anyone who ever views this thread. This is NOT encrypting. This is hashing.

    Here's the difference:
    - Hashing algorithms are one way functions that are designed to be irreversible. Hashes act as signatures/verification methods. MD5, due to security flaws, is now more suited as a checksum function rather than securely storing data for verification.
    - Encrypting is the act of applying some reversible algorithm to data. An encryption is used to store/transmit data securely. It is different than a hash because it is designed to be reversed back to plaintext using a key and, if necessary, an initialization vector (I.V.).

    My point: Don't use this for storing data if you want to see that data again. Don't use this for storing/generating passwords because it's not secure. Don't use this for authentication.

Similar Threads

  1. [Help] Decrypting/Encrypting *.dat file
    By infidel_ in forum Battle of the Immortals
    Replies: 4
    Last Post: 2017-11-26, 03:15 PM
  2. [Tutorial] Dragon Nest Combos, How to get 300/400/500 Hit Combo easily.
    By rodoxfnx in forum Dragon Nest Guides, Tutorials
    Replies: 1
    Last Post: 2012-01-15, 09:47 AM
  3. Help you get items and game gold easily
    By Sarah36 in forum Trash Bin
    Replies: 0
    Last Post: 2011-11-20, 11:04 AM
  4. Help you get items and game gold easily
    By Sarah36 in forum Trash Bin
    Replies: 0
    Last Post: 2011-11-20, 10:56 AM
  5. Help you get items and game gold easily
    By hani89 in forum Trash Bin
    Replies: 0
    Last Post: 2011-11-18, 07:28 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
  •