ISymmetricAlgorithm Interface

Performs a transformation on data to keep it from being read by third parties. This type of encryption uses a single shared, secret key to encrypt and decrypt data.

Namespace: Spring.Cryptography
type
 ISymmetricAlgorithm = interface
 ['{98E0E218-2BD4-4AFA-87B2-E8C4812B2105}']
 end;

The ISymmetricAlgorithm type exposes the following members.

Show:
 NameDescription
BlockSize

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

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.

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
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).

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).

GetBlockSize

Represents method GetBlockSize.

GetCipherMode

Represents method GetCipherMode.

GetIV

Represents method GetIV.

GetKey

Represents method GetKey.

GetKeySize

Represents method GetKeySize.

GetLegalBlockSizes

Represents method GetLegalBlockSizes.

GetLegalKeySizes

Represents method GetLegalKeySizes.

GetPaddingMode

Represents method GetPaddingMode.

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).

Top