English 中文(简体)
使密码更加安全?
原标题:Making passwords more secure?

Hey Guys im thinking about something what i can do to improve the current password safeness. Most of you know rainbow tables which can decrypt "hacked" md5 hashes in seconds.

我认为,如何能够使这一点更加安全。 那些被ck住的“黑客”带走了多少米5海里,没有完全的 m5。

For example, the password i choose "rabbit" md5 hash equals (a51e47f646375ab6bf5dd2c42d3e6181) Nearly every rainbow table in the internet can decrypt these md5 hash into the clear word "rabbit".

但是,如果只把头10个迹象打入数据库,那么什么。 如果用户用密码签字,如果头10个标识等于数据库中的10个标识,则将对其进行检查。 因此,如果黑客们走过一些轮子,他就不能再回头来,因为其中没有任何意义。

这是否可行,是否真正更有保障?

这只是一种想法,而且我确实会赞赏你们的评论。

感谢!

最佳回答

虽然“does使“雨季”袭击变得不那么可行,但它确实没有增加安全。 袭击者一旦发现你使用了拖拉式的MD5轮 has,你的做法实际上给他带来了eas <>>>>-之后,他/她就不得不找到一个带有正确面孔的单一短语,而一个与头10个特性相同的短语。

这几乎是security through obscurity 。 我很抱歉说。 最好能重新思考如何更安全地储存密码,而且你也认识到,使用简单的MD5的轮.不是一个好的想法,但这是错误的做法。

问题回答

储存密码的更为安全的方法是,对每个用户使用不同的洗衣算法,或者对每个用户和储存的洗衣功能使用不同的参数。 这样,人们就不得不为不同的可能性的吨位编制雨水表。

http://en.wikipedia.org/wiki/Salt_%28codeography%29”rel=“nofollow”





相关问题
SQL SubQuery getting particular column

I noticed that there were some threads with similar questions, and I did look through them but did not really get a convincing answer. Here s my question: The subquery below returns a Table with 3 ...

please can anyone check this while loop and if condition

<?php $con=mysql_connect("localhost","mts","mts"); if(!con) { die( unable to connect . mysql_error()); } mysql_select_db("mts",$con); /* date_default_timezone_set ("Asia/Calcutta"); $date = ...

php return a specific row from query

Is it possible in php to return a specific row of data from a mysql query? None of the fetch statements that I ve found return a 2 dimensional array to access specific rows. I want to be able to ...

Character Encodings in PHP and MySQL

Our website was developed with a meta tag set to... <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> This works fine for M-dashes and special quotes, etc. However, I ...

Pagination Strategies for Complex (slow) Datasets

What are some of the strategies being used for pagination of data sets that involve complex queries? count(*) takes ~1.5 sec so we don t want to hit the DB for every page view. Currently there are ~...

Averaging a total in mySQL

My table looks like person_id | car_id | miles ------------------------------ 1 | 1 | 100 1 | 2 | 200 2 | 3 | 1000 2 | 4 | 500 I need to ...