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

TIDEADeCryptStream

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

IDEA Decryption stream.

Declaration

Source position: idea.pp line 104

type TIDEADeCryptStream = class(TIDEAStream)

public

  constructor Create(); overload;

  

Constructor to create a new TIDEADecryptStream instance

  function Read(); override;

  

Reads data from the stream, decrypting it as needed

  function Seek(); override;

  

Set position on the stream

end;

Inheritance

TIDEADeCryptStream

  

IDEA Decryption stream.

|

TIDEAStream

  

Ancestor stream for IDEA encryption/decryption streams.

|

TOwnerStream

|

TStream

|

TObject

Description

TIDEADecryptStream is 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 CipherIDEA algorithm. It is a read-only stream: it is not possible to write data to this stream.

When creating a TIDEADecryptStream instance, 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 TIDEAEncryptStream encryption stream.

See also

TIDEAEncryptStream

  

IDEA encryption stream.

TIDEAStream.Create

  

Creates a new instance of the TIDEAStream class

CipherIDEA

  

Encrypt or decrypt a buffer.


Documentation generated on: Jun 23 2021