@@ -194,6 +194,8 @@ When using an authenticated encryption mode (only `GCM` is currently
194
194
supported), the ` cipher.setAAD() ` method sets the value used for the
195
195
_ additional authenticated data_ (AAD) input parameter.
196
196
197
+ Returns ` this ` for method chaining.
198
+
197
199
### cipher.getAuthTag()
198
200
<!-- YAML
199
201
added: v1.0.0
@@ -222,6 +224,8 @@ using `0x0` instead of PKCS padding.
222
224
223
225
The ` cipher.setAutoPadding() ` method must be called before [ ` cipher.final() ` ] [ ] .
224
226
227
+ Returns ` this ` for method chaining.
228
+
225
229
### cipher.update(data[ , input_encoding] [ , output_encoding ] )
226
230
<!-- YAML
227
231
added: v0.1.94
@@ -329,6 +333,8 @@ When using an authenticated encryption mode (only `GCM` is currently
329
333
supported), the ` cipher.setAAD() ` method sets the value used for the
330
334
_ additional authenticated data_ (AAD) input parameter.
331
335
336
+ Returns ` this ` for method chaining.
337
+
332
338
### decipher.setAuthTag(buffer)
333
339
<!-- YAML
334
340
added: v1.0.0
@@ -340,6 +346,8 @@ received _authentication tag_. If no tag is provided, or if the cipher text
340
346
has been tampered with, [ ` decipher.final() ` ] [ ] with throw, indicating that the
341
347
cipher text should be discarded due to failed authentication.
342
348
349
+ Returns ` this ` for method chaining.
350
+
343
351
### decipher.setAutoPadding(auto_padding=true)
344
352
<!-- YAML
345
353
added: v0.7.1
@@ -355,6 +363,8 @@ multiple of the ciphers block size.
355
363
The ` decipher.setAutoPadding() ` method must be called before
356
364
[ ` decipher.update() ` ] [ ] .
357
365
366
+ Returns ` this ` for method chaining.
367
+
358
368
### decipher.update(data[ , input_encoding] [ , output_encoding ] )
359
369
<!-- YAML
360
370
added: v0.1.94
0 commit comments