Table of Contents

Class Aes

Namespace
Syncfusion.Pdf.Security
Assembly
Syncfusion.Pdf.Portable.dll

Class used for implementing Advanced Encryption Standard algorithm.

public class Aes
Inheritance
Aes
Inherited Members

Constructors

Aes(KeySize, byte[])

Initializes a new instance of the Aes class.

public Aes(Aes.KeySize keySize, byte[] keyBytes)

Parameters

keySize Aes.KeySize

Key size.

keyBytes byte[]

Key bytes

Methods

Cipher(byte[], byte[], int)

Encipher 16 bit input

public int Cipher(byte[] input, byte[] output, int outOff)

Parameters

input byte[]

16 bit Input

output byte[]

Output value

outOff int

Returns

int

Dump()

Dump

public void Dump()

DumpKey()

Dump key.

public string DumpKey()

Returns

string

DumpTwoByTwo(byte[,])

Dump two by two.

public string DumpTwoByTwo(byte[,] a)

Parameters

a byte[,]

Returns

string

InvCipher(byte[], byte[], int)

Decipher 16-bit input

public int InvCipher(byte[] input, byte[] output, int outOff)

Parameters

input byte[]
output byte[]
outOff int

Returns

int