Skip to content

TBlowFishDeCryptStream

On-the-fly Blowfish decryption stream.

Declaration

Source position: blowfish.pp line 82

type

  TBlowFishDeCryptStream = class(TBlowFishStream)
  public
    constructor Create;
    function Read : LongInt;
    function Seek : Int64;
  end;

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.

Methods

Member Visibility Description
Create public Constructor for the class instance.
Read public Read data from the stream.
Seek public Set the stream position.
See all Methods

See also

Name Description
Create Create a new instance of the TBlowFishStream class.
TBlowFishEncryptStream On-the-fly Blowfish encryption stream.