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. 17: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. 03: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

Creating Cold Light
Creating Cold Light
- Adobe Photoshop -
Pseudo-3D Boxes
Pseudo-3D Boxes
- Adobe Photoshop -
Stylized Haunted H...
Stylized Haunted H...
- Adobe Photoshop -
Simple Camouflage
Simple Camouflage
- Adobe Photoshop -

Username:
Password:  
Remember Me

Lost Password? || Register

  
Printer Friendly Version
Tell A Friend v2.0
   
Which camera to buy?
Author: Sedma
Posted: Aug 28th, 10:01pm
Activity: 2 replies, 20 views
Drawn Battle?
Author: tamlin
Posted: Aug 28th, 2:32pm
Activity: 1 replies, 37 views
Rich Vs. Poor
Author: synthetic
Posted: Aug 27th, 7:43pm
Activity: 2 replies, 21 views
Biorust Notification Bug?
Author: synthetic
Posted: Aug 27th, 2:57pm
Activity: 5 replies, 87 views
Electro Art
Author: buud
Posted: Aug 27th, 12:48pm
Activity: 3 replies, 79 views
Firefox 3
Author: Kenneth
Posted: Aug 26th, 10:02pm
Activity: 7 replies, 144 views
Hello Everyone!
Author: salva
Posted: Aug 26th, 8:14pm
Activity: 1 replies, 63 views
Photo Illustration | Vector Conversion | Photo ...
Author: radixweb
Posted: Aug 26th, 6:06am
Activity: 0 replies, 99 views
--- Site Resources ---
Total Tutorials:210
Total Downloads:    406
Linkbase Links:255

Design & Content © BioRUST 2007 :: PRIVACY STATEMENT :: LEGAL INFORMATION :: ADVERTISING MEDIA KIT
:: BIORUST AFFILIATES -->
DividerDividerDividerDivider