Class Aes
Class used for implementing Advanced Encryption Standard algorithm.
Inherited Members
Namespace: Syncfusion.XlsIO.Implementation.Security
Assembly: Syncfusion.XlsIO.NET.dll
Syntax
public class Aes
Constructors
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. |
| byte[] | keyBytes | Key bytes |
Methods
Cipher(byte[], byte[])
Encipher 16 bit input
Declaration
public void Cipher(byte[] input, byte[] output)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | input | 16 bit Input |
| byte[] | output | Output value |
DumpKey()
Dump key.
Declaration
public string DumpKey()
Returns
| Type |
|---|
| string |
DumpTwoByTwo(byte[,])
Dump two by two.
Declaration
public string DumpTwoByTwo(byte[,] a)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[,] | a |
Returns
| Type |
|---|
| string |
InvCipher(byte[], byte[])
Decipher 16-bit input
Declaration
public void InvCipher(byte[] input, byte[] output)
Parameters
| Type | Name | Description |
|---|---|---|
| byte[] | input | |
| byte[] | output |