TSymmetricAlgorithmBase Class

Abstract base class for symmetric algorithms.

Namespace: Spring.Cryptography.Base
TInterfacedObject
  Spring.Cryptography.Base.TSymmetricAlgorithmBase
    Spring.Cryptography.DES.TDES
    Spring.Cryptography.DES.TTripleDES
type
 TSymmetricAlgorithmBase = class abstract(TInterfacedObject, ISymmetricAlgorithm)
 end;

The TSymmetricAlgorithmBase type exposes the following members.

Show:
 NameDescription
Create(Integer[],Integer[])

Initializes a new instance of the TSymmetricAlgorithmBase class.

Top
Show:
 NameDescription
BlockSize

Gets or sets the block size, in bits, of the cryptographic operation.

BlockSizeInBytes

Represents property BlockSizeInBytes.

CipherMode

Gets or sets the cipher mode for operation of the symmetric algorithm.

IV

Gets or sets the value of initialization vector.

Key

Gets or sets the secret key for the symmetric algorithm.

KeySize

Gets or sets the size, in bits, of the secret key used by the symmetric algorithm.

KeySizeInBytes

Represents property KeySizeInBytes.

LegalBlockSizes

Gets the block sizes, in bits, that are supported by the symmetric algorithm.

LegalKeySizes

Gets the key sizes, in bits, that are supported by the symmetric algorithm.

PaddingMode

Gets or sets the padding mode used in the symmetric algorithm.

Top
Show:
 NameDescription
AddPadding(TBuffer,Integer,Integer)

Represents method AddPadding(TBuffer,Integer,Integer).

Decrypt(Byte[])

Overloaded. Represents method Decrypt(Byte[]).

Decrypt(Byte[],Integer,Integer)

Overloaded. Represents method Decrypt(Byte[],Integer,Integer).

Decrypt(Pointer,Integer)

Overloaded. Represents method Decrypt(Pointer,Integer).

Decrypt(RawByteString)

Overloaded. Represents method Decrypt(RawByteString).

Decrypt(string)

Overloaded. Represents method Decrypt(string).

Decrypt(TBuffer)

Overloaded. Represents method Decrypt(TBuffer).

Decrypt(TStream,TStream)

Overloaded. Represents method Decrypt(TStream,TStream).

Decrypt(WideString)

Overloaded. Represents method Decrypt(WideString).

DoDecrypt(Pointer,Integer)

Represents method DoDecrypt(Pointer,Integer).

DoDecryptBlock(TBytes,TBytes)

Represents method DoDecryptBlock(TBytes,TBytes).

DoEncrypt(Pointer,Integer)

Represents method DoEncrypt(Pointer,Integer).

DoEncryptBlock(TBytes,TBytes)

Represents method DoEncryptBlock(TBytes,TBytes).

Encrypt(Byte[])

Overloaded. Represents method Encrypt(Byte[]).

Encrypt(Byte[],Integer,Integer)

Overloaded. Represents method Encrypt(Byte[],Integer,Integer).

Encrypt(Pointer,Integer)

Overloaded. Represents method Encrypt(Pointer,Integer).

Encrypt(RawByteString)

Overloaded. Represents method Encrypt(RawByteString).

Encrypt(string)

Overloaded. Represents method Encrypt(string).

Encrypt(TBuffer)

Overloaded. Represents method Encrypt(TBuffer).

Encrypt(TStream,TStream)

Overloaded. Represents method Encrypt(TStream,TStream).

Encrypt(WideString)

Overloaded. Represents method Encrypt(WideString).

GenerateIV

Represents method GenerateIV.

GenerateKey

Represents method GenerateKey.

GetBlockSize

Represents method GetBlockSize.

GetBlockSizeInBytes

Represents method GetBlockSizeInBytes.

GetCipherMode

Represents method GetCipherMode.

GetIV

Represents method GetIV.

GetKey

Represents method GetKey.

GetKeySize

Represents method GetKeySize.

GetKeySizeInBytes

Represents method GetKeySizeInBytes.

GetLegalBlockSizes

Represents method GetLegalBlockSizes.

GetLegalKeySizes

Represents method GetLegalKeySizes.

GetPaddingMode

Represents method GetPaddingMode.

RemovePadding(TBuffer)

Represents method RemovePadding(TBuffer).

SetBlockSize(Integer)

Represents method SetBlockSize(Integer).

SetCipherMode(TCipherMode)

Represents method SetCipherMode(TCipherMode).

SetIV(TBuffer)

Represents method SetIV(TBuffer).

SetKey(TBuffer)

Represents method SetKey(TBuffer).

SetKeySize(Integer)

Represents method SetKeySize(Integer).

SetPaddingMode(TPaddingMode)

Represents method SetPaddingMode(TPaddingMode).

ValidateKey(TBuffer)

Represents method ValidateKey(TBuffer).

Top
Show:
 NameDescription
fBlockSize

Represents field fBlockSize.

fCipherMode

Represents field fCipherMode.

fIV

Represents field fIV.

fKey

Represents field fKey.

fKeySize

Represents field fKeySize.

fLegalBlockSizes

Represents field fLegalBlockSizes.

fLegalKeySizes

Represents field fLegalKeySizes.

fPaddingMode

Represents field fPaddingMode.

Top