@@ -570,7 +570,7 @@ added: v1.0.0
570
570
* ` options ` {Object} [ ` stream.transform ` options] [ ]
571
571
* ` plaintextLength ` {number}
572
572
* ` encoding ` {string} The string encoding to use when ` buffer ` is a string.
573
- * Returns: {Cipher} for method chaining.
573
+ * Returns: {Cipher} The same ` Cipher ` instance for method chaining.
574
574
575
575
When using an authenticated encryption mode (` GCM ` , ` CCM ` , ` OCB ` , and
576
576
` chacha20-poly1305 ` are
@@ -590,7 +590,7 @@ added: v0.7.1
590
590
-->
591
591
592
592
* ` autoPadding ` {boolean} ** Default:** ` true `
593
- * Returns: {Cipher} for method chaining.
593
+ * Returns: {Cipher} The same ` Cipher ` instance for method chaining.
594
594
595
595
When using block encryption algorithms, the ` Cipher ` class will automatically
596
596
add padding to the input data to the appropriate block size. To disable the
@@ -870,7 +870,7 @@ changes:
870
870
* ` options ` {Object} [ ` stream.transform ` options] [ ]
871
871
* ` plaintextLength ` {number}
872
872
* ` encoding ` {string} String encoding to use when ` buffer ` is a string.
873
- * Returns: {Decipher} for method chaining.
873
+ * Returns: {Decipher} The same Decipher for method chaining.
874
874
875
875
When using an authenticated encryption mode (` GCM ` , ` CCM ` , ` OCB ` , and
876
876
` chacha20-poly1305 ` are
@@ -905,7 +905,7 @@ changes:
905
905
906
906
* ` buffer ` {string|Buffer|ArrayBuffer|TypedArray|DataView}
907
907
* ` encoding ` {string} String encoding to use when ` buffer ` is a string.
908
- * Returns: {Decipher} for method chaining.
908
+ * Returns: {Decipher} The same Decipher for method chaining.
909
909
910
910
When using an authenticated encryption mode (` GCM ` , ` CCM ` , ` OCB ` , and
911
911
` chacha20-poly1305 ` are
@@ -931,7 +931,7 @@ added: v0.7.1
931
931
-->
932
932
933
933
* ` autoPadding ` {boolean} ** Default:** ` true `
934
- * Returns: {Decipher} for method chaining.
934
+ * Returns: {Decipher} The same Decipher for method chaining.
935
935
936
936
When data has been encrypted without standard block padding, calling
937
937
` decipher.setAutoPadding(false) ` will disable automatic padding to prevent
0 commit comments