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;
Inheritance¶
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. |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Create | public | Create a new instance of the TBlowFishStream class. |
| Destroy | public | Destroy the TBlowFishStream instance. |
See also¶
| Name | Description |
|---|---|
| TBlowFishEncryptStream | On-the-fly Blowfish encryption stream. |
| TBlowFishDecryptStream | On-the-fly Blowfish decryption stream. |
| TBlowFish | Class implementing Blowfish encryption/decryption. |