Unit 'BlowFish' Package
[Overview][Constants][Types][Classes][Index] [#fcl]

TBlowFishDeCryptStream

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

On-the-fly Blowfish decryption stream.

Declaration

Source position: blowfish.pp line 82

type TBlowFishDeCryptStream = class(TBlowFishStream)

public

  constructor Create(); override;

  

Constructor for the class instance.

  function Read(); override;

  

Read data from the stream.

  function Seek(); override;

  

Set the stream position.

end;

Inheritance

TBlowFishDeCryptStream

  

On-the-fly Blowfish decryption stream.

|

TBlowFishStream

  

Parent class for Blowfish encryption/decryption streams.

|

TOwnerStream

|

TStream

|

TObject

Description

The TBlowFishDecryptStream provides On-the-fly Blowfish decryption: all data that is read from the source stream is decrypted before it is placed in the output buffer. The source stream must be specified when the TBlowFishDecryptStream instance is created. The Decryption key must also be created when the stream instance is created, and must be the same key as the one used when encrypting the data.

This is a read-only stream: it is seekable only in a forward direction, and data can only be read from it, writing is not possible. For writing data so it is encrypted, the TBlowFishEncryptStream stream must be used.

See also

Create

  

Create a new instance of the TBlowFishStream class.

TBlowFishEncryptStream

  

On-the-fly Blowfish encryption stream.


Documentation generated on: Nov 23 2024