Sign in Join
FPDoc Onlineexperiment

TIDEADeCryptStream class

In unit Idea

IDEA Decryption stream.

Declaration

pascal
TIDEADeCryptStream = class(TIDEAStream)

Inheritance

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

Methods

CreatepublicConstructor to create a new TIDEADecryptStream instance.
ReadpublicReads data from the stream, decrypting it as needed.
SeekpublicSet position on the stream.

Inherited

From TIDEAStream (4)

CreateCryptKey GetPosition InvalidSeek Key

From TOwnerStream (3)

Destroy 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.