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

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

Namespace: flcCipher
function Encrypt(
 const Cipher: TCipherType; const Mode: TCipherMode;
 const Padding: TCipherPadding;
 const KeyBits: Integer;
 const KeyBuffer: Pointer; const KeyBufferSize: Integer;
 const InputBuffer: Pointer; const InputBufferSize: Integer;
 const OutputBuffer: Pointer; const OutputBufferSize: Integer;
 const InitVectorBuffer: Pointer; const InitVectorBufferSize: Integer): Integer; overload;

Parameters

Cipher
Type: TCipherType

Mode
Type: TCipherMode

Padding
Type: TCipherPadding

KeyBits
Type: Integer

KeyBuffer
Type: Pointer

KeyBufferSize
Type: Integer

InputBuffer
Type: Pointer

InputBufferSize
Type: Integer

OutputBuffer
Type: Pointer

OutputBufferSize
Type: Integer

InitVectorBuffer
Type: Pointer

InitVectorBufferSize
Type: Integer

Return Value

Type: Integer