Skip to main content
CipherGCM.setAAD - crypto - Node documentation
method CipherGCM.setAAD

Usage in Deno

import { type CipherGCM } from "node:crypto";
CipherGCM.setAAD(
buffer: ArrayBufferView,
options?: { plaintextLength: number; },
): this

Parameters

buffer: ArrayBufferView
optional
options: { plaintextLength: number; }

Return Type

this