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

查看:161
本文介绍了什么是.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天全站免登陆