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
精彩评论