[Overview][Constants][Types][Classes][Procedures and functions][Index] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
IDEA Decryption stream.
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; |
|
IDEA Decryption stream. |
|
| | ||
|
Ancestor stream for IDEA encryption/decryption streams. |
|
| | ||
| | ||
| | ||
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.
|
IDEA encryption stream. |
|
|
Creates a new instance of the TIDEAStream class |
|
|
Encrypt or decrypt a buffer. |