SecureBlackbox 2020 Python Edition

Questions / Feedback?

encrypt Method

Encrypts a buffer.

Syntax

def encrypt(buffer: bytes) -> bytes: ...

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(encrypt_init, encrypt_update, encrypt_final).

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