简体   繁体   English

.NET Framework 2.0中的AES 256加密

[英]AES 256 encryption in .NET Framework 2.0

Does anyone know if C# can be used in .NET Framework 2.0 to use AES 256 encryption and decryption? 有谁知道在.NET Framework 2.0中是否可以使用C#来使用AES 256加密和解密? Appreciate if the in-built framework supports this or if we have to use any external APIs for the same? 感谢内置框架是否支持此功能,或者我们是否必须使用任何外部API?

Thanks. 谢谢。

它内置 - 您需要在System.Security.Cryptography使用Rijndael Class (赢得NIST AES竞赛的算法的名称)。

Have a look at the System.Security.Cryptography namespace. 查看System.Security.Cryptography命名空间。 It contains classes you can use for AES encryption, such as the Rijndael class. 它包含可用于AES加密的类,例如Rijndael类。

Before it won the title of AES it was called Rijndael. 在获得AES的称号之前,它被称为Rijndael。 Support for the Rijndael class has been in .Net since version 1.0. 从版本1.0开始,支持Rijndael类已经在.Net中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM