Skip to content

TBlowFishStream

Parent class for Blowfish encryption/decryption streams.

Declaration

Source position: blowfish.pp line 58

type

  TBlowFishStream = class(TOwnerStream)
  public
    constructor Create(AKey: TBlowFishKey; AKeySize: Byte; Dest: TStream); overload;
    constructor Create(const KeyPhrase: string; Dest: TStream); overload;
    destructor Destroy;
    property BlowFish: TBlowFish; {r}
  end;

Description

TBlowFishStream is an abstract class which is used as a parent class for TBlowFishEncryptStream and TBlowFishDecryptStream. It simply provides a constructor and storage for a TBlowFish instance and for the source or destination stream.

Do not create an instance of TBlowFishStream directly. Instead create one of the descendent classes TBlowFishEncryptStream or TBlowFishDecryptStream.

Properties

Member Visibility Description
BlowFish read only public Blowfish instance used when encrypting/decrypting.
See all Properties

Methods

Member Visibility Description
Create public Create a new instance of the TBlowFishStream class.
Destroy public Destroy the TBlowFishStream instance.
See all Methods

See also

Name Description
TBlowFishEncryptStream On-the-fly Blowfish encryption stream.
TBlowFishDecryptStream On-the-fly Blowfish decryption stream.
TBlowFish Class implementing Blowfish encryption/decryption.