Passwords coding

Any problem with PHP can be disscused here
Locked
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Passwords coding

Post by Lixas »

Hi all programmers,
Now i'm going to work a ltl with my site security, and i want to know, wich one coding system is better?:
md5() or sha1()
if you know anything, please post here


Image
mohumben
Posts: 82
Joined: Thu Sep 15, 2005 9:45 pm

Post by mohumben »

I personally prefer sha1, since it creates a longer ("word" length) hash.

Note that md5 and sha1 are not "coding systems", they are "hashing systems".
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

yes, u are right about coding a hashing, but it's not the main subject. Maybe i'll do sha1 hashing ssystem on my site. Thank you Mohumben
Image
kaca
Posts: 47
Joined: Tue Oct 18, 2005 1:21 am

Post by kaca »

i think sha1 is better than md5
ELMOHTARF
Posts: 356
Joined: Mon Aug 29, 2005 9:57 am
Contact:

Post by ELMOHTARF »

i think md5 is good :wink: :wink:
With My Best Wishes ::::::: Scorpion :::::::::
Lixas
Posts: 750
Joined: Wed Feb 16, 2005 4:21 pm

Post by Lixas »

now i've used md5 to hash password, and i thin this topic should be closed :)

-=CLOSED=-
Image
Locked