.NET Framework 2.0 中的 AES 256 加密
有谁知道C#是否可以在.NET Framework 2.0中使用AES 256加密和解密?了解内置框架是否支持此功能,或者我们是否必须使用任何外部 API 来实现此功能?
谢谢。
Does anyone know if C# can be used in .NET Framework 2.0 to use AES 256 encryption and decryption? Appreciate if the in-built framework supports this or if we have to use any external APIs for the same?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在获得 AES 称号之前,它被称为 Rijndael。对 Rijndael 类 的支持已在.Net 从 1.0 版开始。
Before it won the title of AES it was called Rijndael. Support for the Rijndael class has been in .Net since version 1.0.
它是内置的 - 您需要使用
Rijndael 类
(赢得NIST AES 竞赛)位于系统.安全.加密
。It's built in - you need to use the
Rijndael Class
(the name of the algorithm which won the NIST AES competition) inSystem.Security.Cryptography
.查看 System.Security.Cryptography 命名空间。它包含可用于 AES 加密的类,例如
Rijndael
类。Have a look at the
System.Security.Cryptography
namespace. It contains classes you can use for AES encryption, such as theRijndael
class.