Class Aes
Class used for implementing Advanced Encryption Standard algorithm.
Inheritance
System.Object
Aes
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.XlsIO.Implementation.Security
Assembly: Syncfusion.XlsIO.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[])
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 |
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 |
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 |