TIDEAEncryptStream.Create¶
Constructor to create a new TIDEAEncryptStream instance.
Declaration¶
Source position: idea.pp line 101
public
constructor TIDEAEncryptStream.Create(const AKey: string; Dest: TStream)
; overload; overload;
Description¶
Create creates a new TIDEAEncryptStream instance using the string AKey to compute the encryption key, which is then passed on to the inherited constructor TIDEAStream.Create. It is an easy-access function which introduces no new functionality.
The string is truncated at the maximum length of the TIdeaCryptKey structure, so it makes no sense to provide a string with length longer than this structure.
See also¶
| Name | Description |
|---|---|
| TIdeaCryptKey | Type for holding an encryption/decryption IDEA key. |
| TIDEAStream.Create | Creates a new instance of the TIDEAStream class. |
| TIDEADeCryptStream.Create | Constructor to create a new TIDEADecryptStream instance. |