The Node.js crypto module provides a cipher.getAuthTag()
implementation that returns a Buffer
which contains the authentication tag after the data has been successfully encrypted.
The SubtleCrypto.encrypt()
Web Crypto API method supports the AES-GCM encryption algorithm, but has no documentation on how to retrieve the authentication tag like in Node.js. Is this possible with the Web Crypto API? If so, how?