menu

Xamarin.Forms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class Aes - Xamarin.Forms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class Aes

    Class used for implementing Advanced Encryption Standard algorithm.

    Inheritance
    System.Object
    Aes
    Namespace: Syncfusion.Pdf.Security
    Assembly: Syncfusion.Pdf.Portable.dll
    Syntax
    public class Aes : Object

    Constructors

    Aes(Aes.KeySize, Byte[])

    Initializes a new instance of the Aes class.

    Declaration
    public Aes(Aes.KeySize keySize, byte[] keyBytes)
    Parameters
    Type Name Description
    Aes.KeySize keySize

    Key size.

    System.Byte[] keyBytes

    Key bytes

    Methods

    Cipher(Byte[], Byte[], Int32)

    Encipher 16 bit input

    Declaration
    public int Cipher(byte[] input, byte[] output, int outOff)
    Parameters
    Type Name Description
    System.Byte[] input

    16 bit Input

    System.Byte[] output

    Output value

    System.Int32 outOff
    Returns
    Type
    System.Int32

    Dump()

    Dump

    Declaration
    public void Dump()

    DumpKey()

    Dump key.

    Declaration
    public string DumpKey()
    Returns
    Type
    System.String

    DumpTwoByTwo(Byte[,])

    Dump two by two.

    Declaration
    public string DumpTwoByTwo(byte[, ] a)
    Parameters
    Type Name Description
    System.Byte[,] a

    The 'a' Value.

    Returns
    Type
    System.String

    InvCipher(Byte[], Byte[], Int32)

    Decipher 16-bit input

    Declaration
    public int InvCipher(byte[] input, byte[] output, int outOff)
    Parameters
    Type Name Description
    System.Byte[] input

    Input value.

    System.Byte[] output

    Output value.

    System.Int32 outOff
    Returns
    Type
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved