[Overview][Constants][Types][Classes][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
On-the-fly Blowfish encryption stream
Source position: blowfish.pp line 68
type TBlowFishEncryptStream = class(TBlowFishStream) |
||
public |
||
destructor Destroy; override; |
|
Free the TBlowFishEncryptStream |
function Write(); override; |
|
Write data to the stream |
function Seek(); override; |
|
Set the position in the stream |
procedure Flush; |
|
Flush the encryption buffer |
end; |
|
On-the-fly Blowfish encryption stream |
|
| | ||
|
Parent class for blowfish encryption/decryption streams |
|
| | ||
| | ||
| | ||
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.
|
Create a new instance of the TBlowFishStream class |
|
|
On-the-fly Blowfish decryption stream |