Discuss this help topic in SecureBlackbox Forum
Encrypts ASourceStream stream.
Declaration
Parameters
Description
This method encrypts the data from
ASourceStream
and returns result at
ADestStream parameter.
Depending on
Compress and
Armor
property values data can be compressed before encryption and armored (wrapped into base64 envelope) after it.
Use
Count parameter to read
specified number of bytes from
ASourceStream.
Set this parameter value to 0 in order to read all data till the stream end.
[Pascal]
Note: in the Delphi versions older than 7, works only with streams of sizes smaller than 2GB (because of TStream limitation).
Use
EncryptFile instead.