Is it possible to decrypt md5 hashes?

Discussion in 'PHP' started by raj_as, Mar 7, 2013.

  1. #1
    I have encrypt the password using the MySQL function md5(),
    I need to decrypt the password,
    Any one can help.
    Thanks.
     
    Solved! View solution.
    raj_as, Mar 7, 2013 IP
  2. #2
    MD5 is a hashing method, not an encryption, so you cannot decrypt it. You can however use a rainbow table such as md5.rednoize.com or you can brute force it.
     
    nico_swd, Mar 7, 2013 IP
  3. Einheijar

    Einheijar Well-Known Member

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    3
    Trophy Points:
    165
    #3
    Decrypting not very likely although MD5 has since been proven insecure and can be collided.
     
    Einheijar, Mar 7, 2013 IP
  4. D3Tek

    D3Tek Active Member

    Messages:
    164
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    50
    #4
    I strongly recommend you do not use MD5.
    Use something like crypt() instead. A simple example;

    $salt = '$2a$07$R.gJb2U2N.FmZ4hPp1y2CN$';
    crypt("YourPasswordHere", $salt);
     
    D3Tek, Mar 7, 2013 IP
  5. chrislim2888

    chrislim2888 Active Member

    Messages:
    46
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #5
    I don't think there is way for you to un-hash the MD5 but brute force.
     
    chrislim2888, Mar 7, 2013 IP
  6. Justus90

    Justus90 Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #6
    http://www.hashtoolkit.com seems to be the biggest database of md5 and sha1 hashes.
     
    Justus90, Oct 17, 2014 IP