MACAlgorithm Property
The (H)MAC algorithm to use during encryption.
Object Oriented Interface
public function getMACAlgorithm(); public function setMACAlgorithm($value);
Procedural Interface
secureblackboxlite_symmetriccrypto_get($res, 20 ); secureblackboxlite_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_SHA1 | SHA1 | |
SB_MAC_ALGORITHM_HMAC_SHA256 | SHA256 | |
SB_MAC_ALGORITHM_HMAC_SHA512 | SHA512 |
Data Type
String