@@ -543,7 +543,7 @@ once will result in an error being thrown.
543543added: v1.0.0
544544-->
545545
546- * Returns: {Buffer} When using an authenticated encryption mode (` GCM ` , ` CCM `
546+ * Returns: {Buffer} When using an authenticated encryption mode (` GCM ` , ` CCM ` ,
547547 and ` OCB ` are currently supported), the ` cipher.getAuthTag() ` method returns a
548548 [ ` Buffer ` ] [ ] containing the _ authentication tag_ that has been computed from
549549 the given data.
@@ -566,7 +566,7 @@ added: v1.0.0
566566 * ` encoding ` {string} The string encoding to use when ` buffer ` is a string.
567567* Returns: {Cipher} for method chaining.
568568
569- When using an authenticated encryption mode (` GCM ` , ` CCM ` and ` OCB ` are
569+ When using an authenticated encryption mode (` GCM ` , ` CCM ` , and ` OCB ` are
570570currently supported), the ` cipher.setAAD() ` method sets the value used for the
571571_ additional authenticated data_ (AAD) input parameter.
572572
@@ -863,7 +863,7 @@ changes:
863863 * ` encoding ` {string} String encoding to use when ` buffer ` is a string.
864864* Returns: {Decipher} for method chaining.
865865
866- When using an authenticated encryption mode (` GCM ` , ` CCM ` and ` OCB ` are
866+ When using an authenticated encryption mode (` GCM ` , ` CCM ` , and ` OCB ` are
867867currently supported), the ` decipher.setAAD() ` method sets the value used for the
868868_ additional authenticated data_ (AAD) input parameter.
869869
@@ -897,7 +897,7 @@ changes:
897897* ` encoding ` {string} String encoding to use when ` buffer ` is a string.
898898* Returns: {Decipher} for method chaining.
899899
900- When using an authenticated encryption mode (` GCM ` , ` CCM ` and ` OCB ` are
900+ When using an authenticated encryption mode (` GCM ` , ` CCM ` , and ` OCB ` are
901901currently supported), the ` decipher.setAuthTag() ` method is used to pass in the
902902received _ authentication tag_ . If no tag is provided, or if the cipher text
903903has been tampered with, [ ` decipher.final() ` ] [ ] will throw, indicating that the
0 commit comments