TUTORIALS SUBMENU ---->

PHOTOSHOP    FLASH    ILLUSTRATOR    BLENDER    CINEMA 4D    WEB-CODING

md5() Hashing Using PHP


Last 5 User Comments

view entire thread

User:  Man1c M0g (#21875)
Date: Sat Dec 24, 2005. 16:04:22

Post #4 of 4

This tutorial has now been updated as per Scrowler's request to include clarified definitions and extra links/paragraphs. Enjoy! :)

Reply to this post


User:  scrowler (#19666)
Date: Mon Oct 31, 2005. 10:08:47

Post #3 of 4

the tutorial was written a while ago, since then i have become aware of these errors namely in that md5 is a hashing algorithm. this may be updated in the future, although the term "encryption" is more user friendly than "hashing" to the beginner - at which it was targetted.

Reply to this post


User:  U'ziel (#18496)
Date: Mon Sep 19, 2005. 16:38:30

Post #2 of 4

Quote from lilygrace:
kuddos to this tutorial... it works for my project. Thanks for this tutorial


MD5 is a hashing algorithm not an encryption method this tutorial is titled incorrectly ;P

There is no way to to reverse the MD5 process in PHP but your site may still not be as secure as you would think. Even though a cracker or someone trying to gain access to your site would not be able to read the passwords stored in your db in plain text he/she could write a simple program to 'brute force' your MD5 hashed passwords.

Say the cracker had a word list of 70,000 words, he/she would be able to write a loop to go through each word/number combo, transfer them into MD5, if one of the combos matched what was in your database he/she would be able to gain access.

To counter this you add 'salt' to your MD5 passwords before using the md5 function on them, the randomer the better. I hit keys like... kjakas73672 would be my salt, then when they came to log in, i would md5 what they had typed in the password box with the salt and if it matched what was in the database... great! This makes brute forcing almost imposible & your passwords even more secure!

Reply to this post


User:  lilygrace (#16417)
Date: Sat Jun 11, 2005. 02:56:59

Post #1 of 4

kuddos to this tutorial... it works for my project. Thanks for this tutorial

Reply to this post


--- View Entire Thread ---


FEATURED TUTORIALS & GUIDES

view all

Advanced Abstract ...
Advanced Abstract ...
- Maxon Cinema 4D -
The Last Remainder
The Last Remainder
- Adobe Photoshop -
Artistic Color Iso...
Artistic Color Iso...
- Adobe Photoshop -
Night Lights (w/ A...
Night Lights (w/ A...
- Macromedia Flash -

Username:
Password:  
Remember Me

Lost Password? || Register

  
Printer Friendly Version
Tell A Friend v2.0
   
TrentonCS
Author: ahstanford
Posted: Nov 06th, 7:40pm
Activity: 3 replies, 27 views
Html 5
Author: ahstanford
Posted: Nov 05th, 1:32pm
Activity: 5 replies, 89 views
What are your favorite websites?
Author: ahstanford
Posted: Nov 05th, 12:51am
Activity: 0 replies, 47 views
What do you do for a living?
Author: ahstanford
Posted: Nov 04th, 11:04pm
Activity: 0 replies, 44 views
What is your favorite Subway sandwich?
Author: ahstanford
Posted: Nov 04th, 11:02pm
Activity: 4 replies, 87 views
Windows 7
Author: ahstanford
Posted: Nov 04th, 10:59pm
Activity: 0 replies, 48 views
Google Wave
Author: ahstanford
Posted: Nov 04th, 10:52pm
Activity: 0 replies, 59 views
University Project
Author: Gjbphp
Posted: Nov 03rd, 8:59pm
Activity: 1 replies, 90 views
Hello BioRust!
Author: ahstanford
Posted: Nov 02nd, 5:39pm
Activity: 4 replies, 87 views
 Illustrator cs4 - Convert outlines/graphics to ...
Author: izidrew
Posted: Oct 29th, 3:48pm
Activity: 3 replies, 256 views
Hello BioRust!!
Author: MOST
Posted: Oct 29th, 12:52am
Activity: 4 replies, 144 views
Hey! newbie
Author: prelimiting
Posted: Oct 28th, 11:51pm
Activity: 1 replies, 113 views
--- Site Resources ---
Total Tutorials:212
Total Downloads:    415
Linkbase Links:

Design & Content © BioRUST 2009 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT