Contents · Forum Home · StreamSec Tools 4.1.5.363 documentation

methodTstCustomCipherComponent.EncryptToDst

procedure EncryptToDst(const aBuf; aBufLen: Integer);
Encrypts aBufLen octets at aBuf and writes the resulting ciphertext to DestinationStream (see DecryptToDst for why the "ToDst" family exists instead of in-place Encrypt/EncryptPtr). An application streams multiple calls before finishing with DoneToDst. No client/server- specific meaning; either peer encrypts data it is about to send this way.