IPWorks Encrypt 2020 PHP Edition

Questions / Feedback?

AuthTag Property

The authentication tag used when UseAEAD is set to True.

Object Oriented Interface

public function getAuthTag();
public function setAuthTag($value);

Procedural Interface

ipworksencrypt_chacha_get($res, 2 );
ipworksencrypt_chacha_set($res, 2, $value );

Default Value

''

Remarks

This property holds the 128 bit authentication tag used when UseAEAD is set to True. It is only applicable when UseAEAD is True.

This is populated after calling Encrypt. To also include the value in the output set IncludeAuthTag to True.

This must be set before calling Decrypt. If the auth tag is included in the encrypted data set IncludeAuthTag to True before calling Decrypt.

Data Type

Binary String

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