doc: fix typo in crypto legacy streams API section

PR-URL: https://github.com/nodejs/node/pull/48122
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Rich Trott <rtrott@gmail.com>
This commit is contained in:
Tobias Nießen authored and Moshe Atlow committed 2023-07-07 00:06:16 +03:00
1 parent 7fa144e3fe
commit 3e4a469139
1 file changed
+1 -1
+1 -1
View File
@@ -5574,7 +5574,7 @@ When passing strings to cryptographic APIs, consider the following factors.
The Crypto module was added to Node.js before there was the concept of a
unified Stream API, and before there were [`Buffer`][] objects for handling
binary data. As such, the many of the `crypto` defined classes have methods not
binary data. As such, many `crypto` classes have methods not
typically found on other Node.js classes that implement the [streams][stream]
API (e.g. `update()`, `final()`, or `digest()`). Also, many methods accepted
and returned `'latin1'` encoded strings by default rather than `Buffer`s. This