Sign in Join
FPDoc Onlineexperiment

TBlowFishDeCryptStream.Create constructor

Member of TBlowFishDeCryptStreampublicIn unit BlowFish

Constructor for the class instance.

Declaration

pascal
constructor Create(AKey: TBlowFishKey; AKeySize: Byte; Dest: TStream)
 ; override

Arguments

AKey

Key used to decrypt values in Dest. Must match the key used to encrypt the stream content in TBlowFishEnCryptStream.

AKeySize

Number of bytes in the Key.

Dest

Stream instance with the values decrypted in the class instance.

Description

Create is the overridden constructor for the class instance. It calls the inherited constructor on entry using the values in AKey, AKeySize, and Dest as arguments.

Create sets the value in an internal member to the current position in Dest. It acts as the relative origin for the TStream instance, and is used in the Seek method.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.