推荐.NET加密库 [英] Recommended .NET encryption library

查看:163
本文介绍了推荐.NET加密库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

阅读(另一个)后通过的杰夫阿特伍德的或多或少的结论是我们凡人的开发商不应该过于介入加密,我在想什么库我应该使用。只有两个库我发现,似乎合法的entlib的和充气城堡,但他们似乎并没有远远超过了.NET加密API的抽象的我。

After reading (yet another) post by Jeff Atwood more or less concluding that us mortal developers shouldn't be getting too involved with encryption, I'm left wondering what library I should be using. The only two libraries I've found that seem legitimate are entlib's and Bouncy Castle, but they don't seem much more of an abstraction than the .NET cryptography APIs to me.

我猜我不知道的是,如果有一个jQuery的密码库说起来很简单,广泛信任,开放和良好的记录。

I guess what I'm wondering is if there is a "jQuery of cryptography libraries" that is simple, widely-trusted, open and well-documented.

推荐答案

在充气城堡库的确是一个备受尊敬,和成熟的加密库,但什么是错用了许多被内置到了梦幻般的加密功能。 .NET框架?

The Bouncy Castle library is indeed a well respected, and mature encryption library, but what's wrong with using many of the fantastic encryption functions that are built right into the .NET framework?

<一个href="http://msdn.microsoft.com/en-us/library/system.security.cryptography.aspx">System.Security.Cryptography命名空间

在我的经验,这些实现是坚如磐石,提供了大量的选项(例如:你平时有一个加密API CNG 以及每个算法的管理实现可供选择),并你不打算弄错了,因为你是唯一的使用的实施。如果你稍微担心你可能的使用的这些错误,你可以始终遵循<一个href="http://msdn.microsoft.com/en-us/library/system.security.cryptography.rijndaelmanaged.aspx">MSDN's自己的例子code 。

In my experience, these implementations are rock-solid, provide numerous options (for example: you've usually got a Crypto API, CNG and Managed implementations of each algorithm to choose from) , and you're not going to "get it wrong", since you're only using the implementation. If you're slightly worried that you might use them incorrectly, you can always follow MSDN's own example code.

这篇关于推荐.NET加密库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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