SecureBlackbox 2020 .NET Edition

Questions / Feedback?

EncryptStream Method

Encrypts a stream.

Syntax

public void EncryptStream(System.IO.Stream sourceStream, System.IO.Stream destStream);
Public Sub EncryptStream(ByVal SourceStream As System.IO.Stream, ByVal DestStream As System.IO.Stream)

Remarks

Use this method to encrypt a stream and save the protected message into another stream.

Specify the encryption key in the Key property before calling this method.

This is a one-off encryption method. Don't use it together with granular per-block encryption methods such as EncryptInit, EncryptUpdate, and EncryptFinal.

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 .NET Edition - Version 20.0 [Build 8165]