SecureBlackbox 2020 PHP Edition

Questions / Feedback?

MACAlgorithm Property

The (H)MAC algorithm to use during encryption.

Object Oriented Interface

public function getMACAlgorithm();
public function setMACAlgorithm($value);

Procedural Interface

secureblackbox_symmetriccrypto_get($res, 20 );
secureblackbox_symmetriccrypto_set($res, 20, $value );

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

Data Type

String

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