Encrypt(TCipherType,TCipherMode,TCipherPadding,Integer,RawByteString,RawByteString,RawByteString) Method

Represents method Encrypt(TCipherType,TCipherMode,TCipherPadding,Integer,RawByteString,RawByteString,RawByteString).

Namespace: flcCipher
function Encrypt(
 const Cipher: TCipherType; const Mode: TCipherMode;
 const Padding: TCipherPadding;
 const KeyBits: Integer;
 const Key, Data, InitVector: RawByteString): RawByteString; overload;

Parameters

Cipher
Type: TCipherType

Mode
Type: TCipherMode

Padding
Type: TCipherPadding

KeyBits
Type: Integer

Key
Type: RawByteString

Data
Type: RawByteString

InitVector
Type: RawByteString

Return Value

Type: RawByteString