SecureBlackbox Lite 2020 Python Edition

Questions / Feedback?

mac_algorithm Property

The (H)MAC algorithm to use during encryption.

Syntax

def get_mac_algorithm() -> str: ...
def set_mac_algorithm(value: str) -> None: ...

mac_algorithm = property(get_mac_algorithm, set_mac_algorithm)

Default Value

""

Remarks

Use this property to configure the HMAC algorithm to use with the encryption operation. This onlyapplies to a small subset of algorithms/modes.

SB_MAC_ALGORITHM_HMAC_SHA1SHA1
SB_MAC_ALGORITHM_HMAC_SHA256SHA256
SB_MAC_ALGORITHM_HMAC_SHA512SHA512

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