TLSharp.Core.MTProto.Crypto.AES.EncryptAES C# (CSharp) Method

EncryptAES() public static method

public static EncryptAES ( AESKeyData key, byte plaintext ) : byte[]
key AESKeyData
plaintext byte
return byte[]
        public static byte[] EncryptAES(AESKeyData key, byte[] plaintext)
        {
            return EncryptIGE(plaintext, key.Key, key.Iv);
        }