IPWorks Encrypt 2020 JavaScript Edition

Questions / Feedback?

AuthTag Property

The authentication tag used when UseAEAD is set to True.

Syntax


 getAuthTag(): Uint8Array;

 setAuthTag(authTag: Uint8Array): void;

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.

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