the-dream
08-23-2007, 06:00 PM
Which is best? I know MD5 is 128-Bit and SHA1 160-Bit. But which one is better for a login system!
|
||||
MD5 or SHA1 Encriptionthe-dream 08-23-2007, 06:00 PM Which is best? I know MD5 is 128-Bit and SHA1 160-Bit. But which one is better for a login system! aedrin 08-23-2007, 06:50 PM http://www.google.com/search?q=md5+vs+sha1 CFMaBiSmAd 08-23-2007, 07:02 PM Whichever hash method you use, always append/prepend a "salt" string to the value being hashed. This will make the brute-force/dictionary/database-lookup methods ineffective at finding the original value. felgall 08-23-2007, 08:45 PM MD5 already has a lookup table constructed for unsalted values that will provide an enterable value to match any hash and so must use a salt to have any security at all. SHA1 is way more secure and has yet to be broken that way. With a salt MD5 is secure enough for most purposes. crypthacks 08-24-2007, 08:03 AM sha indeed wayne3503 08-24-2007, 08:24 PM sha1 all the way rafiki 08-24-2007, 08:34 PM i use sha1() |
| |||
EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum