SecureBlackbox Lite 2020 Kotlin Edition

Questions / Feedback?

EncryptStream Method

Encrypts a stream.

Syntax

public fun encryptStream(sourceStream: InputStream?, destStream: OutputStream?)

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 Lite 2020 Kotlin Edition - Version 20.0 [Build 8063]