GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: use Oxford comma in crypto docs · nodejs/node@fd28d25

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • crypto.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/crypto.md‎

Copy file name to clipboardExpand all lines: doc/api/crypto.md
+4-4Lines changed: 4 additions & 4 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ once will result in an error being thrown.
543543
added: 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
570570
currently 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
867867
currently 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
901901
currently supported), the `decipher.setAuthTag()` method is used to pass in the
902902
received _authentication tag_. If no tag is provided, or if the cipher text
903903
has been tampered with, [`decipher.final()`][] will throw, indicating that the

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.