[Overview][Constants][Types][Classes][Procedures and functions] Reference for unit 'idea' (#fcl)

TIDEADeCryptStream

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

IDEA Decryption stream.

Declaration

Source position: idea.pp line 94

type TIDEADeCryptStream = class(TIDEAStream)

public

  function Read(); override;

  

Reads data from the stream, decrypting it as needed

  function Write(); override;

  

Write data to the stream

  function Seek(); override;

  

Set position on the stream

end;

Inheritance

TIDEADeCryptStream

  

IDEA Decryption stream.

|

TIDEAStream

  

Ancestor stream for IDEA encryption/decryption streams.

|

TOwnerStream

|

TObject

Description

TIDEADecryptStreamis a stream which decrypts anything that is read from it using the IDEA mechanism. It reads the encrypted data from a source stream and decrypts it using the CipherIDEAalgorithm. It is a read-only stream: it is not possible to write data to this stream.

When creating a TIDEADecryptStreaminstance, an IDEA decryption key should be passed to the constructor, as well as the stream from which encrypted data should be read written.

The encrypted data can be created with a TIDEAEncryptStreamencryption stream.

See also

TIDEAEncryptStream

  

IDEA encryption stream.

TIDEAStream.Create

  

Creates a new instance of the TIDEAStreamclass

CipherIDEA

  

Encrypt or decrypt a buffer.