开发者

C# Libraries to encrypt/decrypt using AES

开发者 https://www.devze.com 2023-01-02 10:33 出处:网络
I couldn\'t find aes libraries in .net framewo开发者_StackOverflowrk. Is there any external libraries?

I couldn't find aes libraries in .net framewo开发者_StackOverflowrk. Is there any external libraries?

thanks


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

0

精彩评论

暂无评论...
验证码 换一张
取 消