Jump to content

Recommended Posts

Yes, you can crack md5 with rainbow tables.  I actually have some rainbow tables lying around somewhere. >:)  But anyway, in order to actually get the chance to crack it, they'd first need to access your (hopefully) secure database.  MD5 is perfectly fine for non-critical logins.  Unless you're storing credit card info (which you NEVER SHOULD, and if you are, you're getting a rant), md5 is perfectly fine.

Link to comment
https://forums.phpfreaks.com/topic/104954-is-this-safe/#findComment-537245
Share on other sites

Sorry, one more thing.

 

Should I use md5() or hash('md5', $str)? Thanks.

 

Edit: Think I'll use sha-512. I just tested an md5 hash on one of those websites and it got it within a second :|

Those websites that "decrypt" md5 hashes do not actually decrypt the md5 hash. Instead they have a database set-up which stores the md5 hash to the word that corresponds to it. So when you enter your md5 hash to your very secret password, all they do is see if the hash your provided is in the database already, if it is it'll return the actual word for the hash.

 

This is one of the the many reasons why you should also not use simple passwords. When setting a password include as many different characters as possible. For example @p1Em9C is more secure than applemac. Passwords should not be meaningful.

 

MD5 hashes are one way encryption only. Your could use a technique called salt to make your encryptions more secure.

Link to comment
https://forums.phpfreaks.com/topic/104954-is-this-safe/#findComment-537650
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.