Professional Documents
Culture Documents
Namespace:
System.Security.Cryptography
Assembly:
System.Security.Cryptography.Algorithms.dll
Inheritance
Object
SymmetricAlgorithm
Aes
Derived
System.Security.Cryptography.AesCng
System.Security.Cryptography.AesCryptoServiceProvider
System.Security.Cryptography.AesManaged
Attributes
UnsupportedOSPlatformAttribute
Đoạn chương trình sau mô phỏng cách mã hoá và giải mã dữ liệu sử dụng lớp AES
C#
using System;
using System.IO;
using System.Security.Cryptography;
namespace Aes_Example
{
class AesExample
{
public static void Main()
{
string original = "Here is some data to encrypt!";
return plaintext;
}
}
}