GetDotted Domains

Viewing Thread:
"Why md5 hash?"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Tue 06/09/05 at 22:25
Regular
"Anti-ice cream man"
Posts: 14
I've been coding various forms for my new site and using md5 hash and then it occured to me....why? Thanks for any replies
Wed 07/09/05 at 14:07
Regular
"NULL"
Posts: 1,384
So does PHP.
Wed 07/09/05 at 13:45
Regular
Posts: 6,492
Dunno what you're coding in, but if you move into Python for your CGI, it has libraries written for encryption out of the box so you can use it without worrying about how it works.
Tue 06/09/05 at 23:44
Regular
"Anti-ice cream man"
Posts: 14
Thanks peeps
Tue 06/09/05 at 23:03
Regular
"NULL"
Posts: 1,384
AliBoy wrote:
> Also with md5 some words can produce the same hash code.
>
> So for example the word "cheese" could produce a code like
> abcdefg
> the word hamburger could also produce the code abcdefg
>
> this way if someone has the hash code then there is more than one
> possible word (or series of words) that could have produced the code
> making it secure.

Erm, they're not exactly common! MD5 is secure enough for most things where a hash is required, but if you require even higher security, look at SHA.
Tue 06/09/05 at 22:48
Regular
Posts: 5,323
Use sessions or cookies.

My knowledge of PHP is poor.
Tue 06/09/05 at 22:48
Regular
"Picking a winner!"
Posts: 8,502
Also with md5 some words can produce the same hash code.

So for example the word "cheese" could produce a code like abcdefg
the word hamburger could also produce the code abcdefg

this way if someone has the hash code then there is more than one possible word (or series of words) that could have produced the code making it secure.
Tue 06/09/05 at 22:44
Regular
"Anti-ice cream man"
Posts: 14
Ah right. How do I go about encrypting query strings. For example..

edit_profile.php?id=1

If some "Rapist" changed the '1' to a '2', then they can edit somebody elses profile
Tue 06/09/05 at 22:38
Regular
Posts: 5,323
Because if you don't encrypt the passwords with MD5 or a similiar form of encryption your site is gonna get raped.
Tue 06/09/05 at 22:25
Regular
"Anti-ice cream man"
Posts: 14
I've been coding various forms for my new site and using md5 hash and then it occured to me....why? Thanks for any replies

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Simple, yet effective...
This is perfect, so simple yet effective, couldnt believe that I could build a web site, have alrealdy recommended you to friends. Brilliant.
Con
LOVE it....
You have made it so easy to build & host a website!!!
Gemma

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre
Feedback Close Feedback

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.