Class Aes
Class used for implementing Advanced Encryption Standard algorithm.
Inheritance
System.Object
Aes
Namespace: Syncfusion.XlsIO.Implementation.Security
Assembly: Syncfusion.XlsIO.UWP.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[])
Encipher 16 bit input
Declaration
public void Cipher(byte[] input, byte[] output)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | input | 16 bit Input |
System.Byte[] | output | Output value |
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 |
Returns
Type |
---|
System.String |
InvCipher(Byte[], Byte[])
Decipher 16-bit input
Declaration
public void InvCipher(byte[] input, byte[] output)
Parameters
Type | Name | Description |
---|---|---|
System.Byte[] | input | |
System.Byte[] | output |