该算法preferred散列密码的C#?

问题描述:

可能重复:结果
  What算法我应该使用哈希密码到我的数据库?

我是新来这个散列密码。我读了哈希+盐使密码很安全。但仍然困惑的哈希算法,我应该使用,因为很多像。

I am new to this hashing on password. I read the hashing + salt make passwords really safe. But still confused which hashing algorithm should I use as there are many like.

MD5CryptoServiceProvider
SHA1Managed
SHA256Managed 等。

我如何决定哪一个是为我好,或者全部都是平等的。我可以盲目去接人?

How can I decide which one is good for me or all are equal. Can I pick up anyone blindly?

MD5

在1996年,一个缺陷与MD5的设计中,而这是
  没有明确致命的弱点,密码学家开始的建议
  使用的其它算法,如SHA-1的这已被发现
  是脆弱的也是如此。

In 1996, a flaw was found with the design of MD5, and while it was not a clearly fatal weakness, cryptographers began recommending the use of other algorithms, such as SHA-1—which has since been found to be vulnerable as well.

SHA1

在2005年,密码专家发现了SHA-1的攻击提示
  算法可能不适合继续使用足够安全的。

In 2005, cryptanalysts found attacks on SHA-1 suggesting that the algorithm might not be secure enough for ongoing use

SHA2 的哪个SHA256是一类不具有已知漏洞的此刻的写作。

SHA2 which SHA256 is a type of does not have a known vulnerability as of the moment of writing.