Sign in Join
FPDoc Onlineexperiment

TIDEADeCryptStream.Create constructor

Member of TIDEADeCryptStreampublicIn unit Idea

Constructor to create a new TIDEADecryptStream instance.

Declaration

pascal
constructor Create(const AKey: string; Dest: TStream); overload

Arguments

AKey

String to use as the encryption key.

Dest

Source stream with encrypted data.

Description

Create creates a new TIDEADecryptStream instance using the string AKey to compute the encryption key, which is then passed on to the inherited constructor Create. It is an easy-access function which introduces no new functionality.

The string is truncated at the maximum length of the TIdeaCryptKey structure, so it makes no sense to provide a string with length longer than this structure.

See also

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