help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



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

TIDEAEncryptStream

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

IDEA encryption stream.

Declaration

Source position: idea.pp line 85

type TIDEAEncryptStream = class(TIDEAStream)

public

  destructor Destroy; override;

  

Flush data buffers and free the stream instance.

  function Read(); override;

  

Read data from the stream

  function Write(); override;

  

Write bytes to the stream to be encrypted

  function Seek(); override;

  

Set stream position

  procedure Flush;

  

Write remaining bytes from the stream

end;

Inheritance

TIDEAEncryptStream

  

IDEA encryption stream.

|

TIDEAStream

  

Ancestor stream for IDEA encryption/decryption streams.

|

TOwnerStream

|

TObject

Description

TIDEAEncryptStream is a stream which encrypts anything that is written to it using the IDEA mechanism, and then writes the encrypted data to the destination stream using the CipherIDEA algorithm. It is a write-only stream: it is not possible to read data from this stream.

When creating a TIDEAEncryptStream instance, an IDEA encryption key should be passed to the constructor, as well as the stream to which encrypted data should be written.

The resulting encrypted data can be read again with a TIDEADecryptStream decryption stream.

See also

TIDEADecryptStream

  

IDEA Decryption stream.

TIDEAStream.Create

  

Creates a new instance of the TIDEAStream class

CipherIDEA

  

Encrypt or decrypt a buffer.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505