Current location: Hot Scripts Forums » Programming Languages » PHP » MD5 - Info Please


MD5 - Info Please

Reply
  #1 (permalink)  
Old 11-01-04, 01:05 PM
steveo steveo is offline
Wannabe Coder
 
Join Date: Jun 2004
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
MD5 - Info Please

Hey all,
I currently have a member section I created and just wondering what are the benefits to using MD5 Encryption to encrypt your passwords? - Obviously it's their so no one can get peoples passwords.

I just wanted to know why you would use it? - Just for security purposes?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 11-01-04, 01:17 PM
CrAzY_CuStoMs CrAzY_CuStoMs is offline
Newbie Coder
 
Join Date: Oct 2004
Location: Ontario, Canada
Posts: 36
Thanks: 0
Thanked 0 Times in 0 Posts
mainly for security yes... its a one way hash of the password string. there is no way to decrypt it... well there is it will jsut take too long and far to much processing power.
__________________
CuStoM PHP scripts for cheep =D Contact me anyways you need for all your php needs
AIM- Tallgeesegw3
ICQ- 206498877
MSN- silver_suicide_rider@hotmail.com
YIM- comming soon
IRC- server- irc.chat-solutions.org
channel- Crazy_customs
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 11-01-04, 02:59 PM
FiRe FiRe is offline
Code Guru
 
Join Date: Oct 2004
Location: UK
Posts: 801
Thanks: 0
Thanked 0 Times in 0 Posts
yes its almost undecryptable which is why most people use it because if some unwanted intruder gets into your database then he cant get the password!

so when logging in, if the users pass is encrypted in the db then you encrypt into md5 the password they gave and then compare it!

if you have a lost password feature you should have a random password function to generate 1, then email it to them, encrypt it in md5 and overwrite the current pass!
__________________
Alexa Share <-- Trade virtual shares in websites with this online game.

codR.us <-- Submit and vote for your favorite code snippets with codR.us.

XEWeb.net <-- The ultimate PHP resource network.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 11-01-04, 08:38 PM
Eclipse's Avatar
Eclipse Eclipse is offline
Coding Addict
 
Join Date: May 2004
Location: Long Island, New York
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
Hey,
While md5 is very hard to crack brute forcing it is always a risk. So make sure to use a password that most like wont be in a password list. For example something like: mypasswordpwns or something like that....
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 11-01-04, 10:44 PM
moronovich moronovich is offline
Junior Code Guru
 
Join Date: Oct 2004
Posts: 460
Thanks: 0
Thanked 0 Times in 0 Posts
hello guys,
just an info for you. the first level in md5 encryption is now exposed. so there is still possibility that one will find its decryption. also eclipse has pointed out security issue in creating password, never use bad words that exists in dictionary or commonly used words.
__________________
just an ignorant noob with moronic solution...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #6 (permalink)  
Old 11-01-04, 11:54 PM
4n7hr4x 4n7hr4x is offline
Banned
 
Join Date: Jun 2004
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
best form of password encryption requries a database, use md5, then use mySQL PASSWORD function and encrypt the already encrypted password,
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #7 (permalink)  
Old 11-02-04, 12:50 AM
moronovich moronovich is offline
Junior Code Guru
 
Join Date: Oct 2004
Posts: 460
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
best form of password encryption requries a database, use md5, then use mySQL PASSWORD function and encrypt the already encrypted password,
but honestly, i can't find the purpose of doing this act.. this is like starting a game you'll never end.
__________________
just an ignorant noob with moronic solution...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #8 (permalink)  
Old 11-02-04, 04:01 AM
steveo steveo is offline
Wannabe Coder
 
Join Date: Jun 2004
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Well, my website is pretty worthless to a 'hacker' say, it's nothing special and none of the accounts hold personal information apart from emails.

Would it be worth MD5'ing all the passwords?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #9 (permalink)  
Old 11-02-04, 02:27 PM
4n7hr4x 4n7hr4x is offline
Banned
 
Join Date: Jun 2004
Posts: 237
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by moronovich
but honestly, i can't find the purpose of doing this act.. this is like starting a game you'll never end.
its endable, and decryptable
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #10 (permalink)  
Old 11-02-04, 02:46 PM
Eclipse's Avatar
Eclipse Eclipse is offline
Coding Addict
 
Join Date: May 2004
Location: Long Island, New York
Posts: 356
Thanks: 0
Thanked 0 Times in 0 Posts
Or you could just use a hash encryption, an encryption that you can decrypt back to normal.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ip info, country info script k0m3k Script Requests 0 08-13-04 05:34 AM
cascade info script? zeon Script Requests 0 05-24-04 12:42 AM
Randome Quote and user info sig (dynamic) Infinite_Hackers PHP 8 04-12-04 01:56 PM
reading info from a file (csv / xls) and displaying info lordmerlin PHP 7 03-20-04 04:39 PM
not displaying the correct info sparky PHP 8 06-26-03 09:28 AM


All times are GMT -5. The time now is 08:21 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.