buffer{Buffer | TypedArray | DataView}options{Object} [stream.transformoptions][]plaintextLength{number}
- Returns: {Decipher} for method chaining.
When using an authenticated encryption mode (GCM, CCM and OCB are
currently supported), the decipher.setAAD() method sets the value used for the
additional authenticated data (AAD) input parameter.
The options argument is optional for GCM. When using CCM, the
plaintextLength option must be specified and its value must match the length
of the ciphertext in bytes. See [CCM mode][].
The decipher.setAAD() method must be called before [decipher.update()][].
