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
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
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: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: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:48
Regular
Posts: 5,323
Use sessions or cookies.

My knowledge of PHP is poor.
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 23:44
Regular
"Anti-ice cream man"
Posts: 14
Thanks peeps
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.
Wed 07/09/05 at 14:07
Regular
"NULL"
Posts: 1,384
So does PHP.

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

The coolest ISP ever!
In my opinion, the ISP is the best I have ever used. They guarantee 'first time connection - everytime', which they have never let me down on.
My website looks tremendous!
Fantastic site, easy to follow, simple guides... impressed with whole package. My website looks tremendous. You don't need to be a rocket scientist to set this up, Freeola helps you step-by-step.
Susan

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.