C# Libraries to encrypt/decrypt using AES

[亡魂溺海] 提交于 2019-12-05 06:16:18

You do not mention which version of the framework you are using, but since you did not immediately find System.Security.Cryptography.AesManaged, I guess you are using a version earlier than 3.5.

Instead use System.Security.Cryptography.RijndaelManaged. Rijndael is the name of the algorithm that was standardized by NIST as AES. It is exactly the same algorithm (except that you can choose some blocklengths and modes with Rijndael that are not permitted with AES).

You'll find AES built into the framework in the System.Security.Cryptography namespace:

http://msdn.microsoft.com/en-us/library/system.security.cryptography.aes.aspx

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!