Skip to content

crypto: support authTagLength in GCM encryption

The authTagLength option can now be used to produce GCM authentication tags with a specific length.

https://github.com/nodejs/node/pull/20039 should probably land along with this PR in order to keep the API symmetric.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading