digitalbazaar / forge

A native implementation of TLS in Javascript and tools to write crypto-based and network-heavy webapps

Home Page:https://digitalbazaar.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tag is not generated while creating cipher in AES-GCM mode

Goutham0110 opened this issue · comments

I am using AES-GCM mode for encryption and decryption. After creating the cipher, after cipher.finish() the tag in cipher.mode.tag is a ByteStringBuffer with empty string in data. Do I have to insert the tag manually or will it get generated automatically based on the message?