SecureBlackbox 2020 Java Edition

Questions / Feedback?

Encrypt Method

Encrypts a buffer.

Syntax

public byte[] encrypt(byte[] buffer);

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 2020 Java Edition - Version 20.0 [Build 8156]