Declaration¶
Source position: blowfish.pp line 74
type
TBlowFishEncryptStream = class(TBlowFishStream)
public
destructor Destroy;
function Write : LongInt;
function Seek : Int64;
procedure Flush;
end;
Inheritance¶
Description¶
The TBlowFishEncryptStream provides On-the-fly Blowfish encryption: all data that is written to it is encrypted and then written to a destination stream, which must be specified when the TBlowFishEncryptStream instance is created. The encryption key must also be created when the stream instance is created.
This is a write-only stream: it is not seekable, and data can only be written to it, reading is not possible. For reading encrypted data, the TBlowFishDecryptStream stream must be used.
Methods¶
| Member | Visibility | Description |
|---|---|---|
| Destroy | public | Free the TBlowFishEncryptStream. |
| Flush | public | Flush the encryption buffer. |
| Seek | public | Set the position in the stream. |
| Write | public | Write data to the stream. |
See also¶
| Name | Description |
|---|---|
| Create | Create a new instance of the TBlowFishStream class. |
| TBlowFishDecryptStream | On-the-fly Blowfish decryption stream. |