Class Aes
Class used for implementing Advanced Encryption Standard algorithm.
Inheritance
System.Object
Aes
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Syncfusion.Pdf.Security
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public class Aes
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 | Description |
---|---|
System.Int32 |
Dump()
Dump
Declaration
public void Dump()
DumpKey()
Dump key.
Declaration
public string DumpKey()
Returns
Type | Description |
---|---|
System.String |
DumpTwoByTwo(Byte[,])
Dump two by two.
Declaration
public string DumpTwoByTwo(byte[, ] a)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[,] | a |
Returns
Type | Description |
---|---|
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 | |
System.Byte[] | output | |
System.Int32 | outOff |
Returns
Type | Description |
---|---|
System.Int32 |