SecureBlackbox Lite 2020 Kotlin Edition

Questions / Feedback?

Encrypt Method

Encrypts a buffer.

Syntax

public fun encrypt(buffer: ByteArray?): ByteArray?

Remarks

Use this method to encrypt a byte array and get the protected message in another byte array.

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

This is a one-off encryption method. Don't use it with granular per-block methods(EncryptInit, EncryptUpdate, EncryptFinal).

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