[Overview][Constants][Types][Classes][Index] | Reference for unit 'BlowFish' (#fcl)

# TBlowFishStream

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Parent class for blowfish encryption/decryption streams

## Declaration

Source position: blowfish.pp line 52

`type TBlowFishStream = class(TOwnerStream)`
`protected`
`function GetPosition; override;`
`procedure InvalidSeek; override;`
`public`
`procedure Create();` |  | Create a new instance of the TBlowFishStream class
`destructor Destroy; override;` |  | Destroy the TBlowFishStream instance.
`property BlowFish: TBlowFish; [r]` |  | Blowfish instance used when encrypting/descrypting
`end;`

## Inheritance

`TBlowFishStream` |  | Parent class for blowfish encryption/decryption streams
`TOwnerStream`
`TStream`
`TObject`

## 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.

## See also

TBlowFishEncryptStream |  | On-the-fly Blowfish encryption stream
TBlowFishDecryptStream |  | On-the-fly Blowfish decryption stream
TBlowFish |  | Class implementing blowfish encryption/decription

The latest version of this document can be found at lazarus-ccr.sourceforge.net .