.NET框架中最安全的散列算法是什么? [英] What is the most secure hashing algorithm in the .NET framework?

查看:124
本文介绍了.NET框架中最安全的散列算法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

生成的散列的大小和算法的速度并不重要。我真的只对它是最安全的选择感兴趣。我不想使用任何第三方库。

The size of the generated hash and the speed of the algorithm are not important. I'm really only interested in it being the most secure option. I don't want to use any third party libraries either.

我使用的.NET框架的版本如果3.5,如果这有任何区别。

The version of the .NET framework I'm using if 3.5 if that makes any difference.

推荐答案

我会认为 SHA512 将是您内置哈希算法的最佳选择。这是一个非常安全的算法的最大的哈希形式。

I would think SHA512 would be your best bet from the built-in hash algorithms. It's the largest hash form of a very secure algorithm.

此外,不要忘了使用盐帮助保护哈希免受字典攻击

Also, don't forget to use a salt to help protect the hash against dictionary attacks.

这篇关于.NET框架中最安全的散列算法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆