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

Abstract Wireframes
Abstract Wireframes
- Adobe Photoshop -
Isometric Pixel Art
Isometric Pixel Art
- Adobe Photoshop -
StarBurst Effects
StarBurst Effects
- Adobe Photoshop -
Laser-Cut Metal
Laser-Cut Metal
- Adobe Photoshop -

Username:
Password:  
Remember Me

Lost Password? || Register

  
Printer Friendly Version
Tell A Friend v2.0
   
Creating a seamless pattern; Not working
Author: bpgd486
Posted: May 16th, 1:46pm
Activity: 5 replies, 32 views
Live Trace resolution
Author: jttuck
Posted: May 14th, 6:02pm
Activity: 1 replies, 77 views
Hello all, just found this site
Author: skatz
Posted: May 12th, 7:29pm
Activity: 4 replies, 105 views
FontStruct
Author: Jacorre
Posted: May 12th, 3:34pm
Activity: 0 replies, 130 views
Hey everyone
Author: whelpton
Posted: May 11th, 6:20pm
Activity: 2 replies, 87 views
Member Tutorial: Taking it further.
Author: Trueskool
Posted: May 11th, 1:30pm
Activity: 1 replies, 145 views
Orb - flash version
Author: unleash
Posted: May 11th, 11:38am
Activity: 1 replies, 153 views
 Hi, first question
Author: Findrikku
Posted: May 11th, 8:43am
Activity: 1 replies, 30 views
--- Site Resources ---
Total Tutorials:210
Total Downloads:    402
Linkbase Links:255

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