mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
This adds two new member functions getAuthTag and setAuthTag that are useful for AES-GCM encryption modes. Use getAuthTag after Cipheriv.final, transmit the tag along with the data and use Decipheriv.setAuthTag to have the encrypted data verified.