Sign in Join
FPDoc Onlineexperiment

TIDEAEncryptStream class

In unit Idea

IDEA encryption stream.

Declaration

pascal
TIDEAEncryptStream = class(TIDEAStream)

Inheritance

  1. TIDEAEncryptStream
  2. TIDEAStream
  3. TOwnerStream
  4. TStream
  5. 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

Methods

CreatepublicConstructor to create a new TIDEAEncryptStream instance.
DestroypublicFlush data buffers and free the stream instance.
WritepublicWrite bytes to the stream to be encrypted.
SeekpublicSet stream position.
FlushpublicWrite remaining bytes from the stream.

Inherited

From TIDEAStream (4)

CreateCryptKey GetPosition InvalidSeek Key

From TOwnerStream (2)

Source SourceOwner

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.