[Overview][Constants][Types][Classes][Procedures and functions] |
[Properties (by Name)] [Methods (by Name)] [Events (by Name)]
IDEA Decryption stream.
Source position: idea.pp line 94
type TIDEADeCryptStream = class(TIDEAStream) |
||
public |
||
function Read(); override; |
|
Reads data from the stream, decrypting it as needed |
function Write(); override; |
|
Write data to the stream |
function Seek(); override; |
|
Set position on the stream |
end; |
|
IDEA Decryption stream. |
|
| | ||
|
Ancestor stream for IDEA encryption/decryption streams. |
|
| | ||
| | ||
TObject |
TIDEADecryptStreamis 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 CipherIDEAalgorithm. It is a read-only stream: it is not possible to write data to this stream.
When creating a TIDEADecryptStreaminstance, 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 TIDEAEncryptStreamencryption stream.
|
IDEA encryption stream. |
|
|
Creates a new instance of the TIDEAStreamclass |
|
|
Encrypt or decrypt a buffer. |