@@ -194,6 +194,8 @@ When using an authenticated encryption mode (only `GCM` is currently
194194supported), the ` cipher.setAAD() ` method sets the value used for the
195195_ additional authenticated data_ (AAD) input parameter.
196196
197+ Returns ` this ` for method chaining.
198+
197199### cipher.getAuthTag()
198200<!-- YAML
199201added: v1.0.0
@@ -222,6 +224,8 @@ using `0x0` instead of PKCS padding.
222224
223225The ` cipher.setAutoPadding() ` method must be called before [ ` cipher.final() ` ] [ ] .
224226
227+ Returns ` this ` for method chaining.
228+
225229### cipher.update(data[ , input_encoding] [ , output_encoding ] )
226230<!-- YAML
227231added: v0.1.94
@@ -329,6 +333,8 @@ When using an authenticated encryption mode (only `GCM` is currently
329333supported), the ` decipher.setAAD() ` method sets the value used for the
330334_ additional authenticated data_ (AAD) input parameter.
331335
336+ Returns ` this ` for method chaining.
337+
332338### decipher.setAuthTag(buffer)
333339<!-- YAML
334340added: v1.0.0
@@ -340,6 +346,8 @@ received _authentication tag_. If no tag is provided, or if the cipher text
340346has been tampered with, [ ` decipher.final() ` ] [ ] with throw, indicating that the
341347cipher text should be discarded due to failed authentication.
342348
349+ Returns ` this ` for method chaining.
350+
343351### decipher.setAutoPadding(auto_padding=true)
344352<!-- YAML
345353added: v0.7.1
@@ -355,6 +363,8 @@ multiple of the ciphers block size.
355363The ` decipher.setAutoPadding() ` method must be called before
356364[ ` decipher.update() ` ] [ ] .
357365
366+ Returns ` this ` for method chaining.
367+
358368### decipher.update(data[ , input_encoding] [ , output_encoding ] )
359369<!-- YAML
360370added: v0.1.94
0 commit comments