mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
7fa144e3fe
commit
3e4a469139
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user