Skip to content

Commit d4fc5ca

Browse files
committed
fixup! fixup! zlib: expose zlib.crc32()
1 parent d9057fc commit d4fc5ca

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/zlib.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -733,13 +733,13 @@ in data transmission. It's not suitable for cryptographic authentication.
733733

734734
To be consistent with other APIs, if the `data` is a string, it will
735735
be encoded with UTF-8 before being used for computation. If users only
736-
uses Node.js to compute and check the checksums, this works well with
736+
use Node.js to compute and match the checksums, this works well with
737737
other APIs that uses the UTF-8 encoding by default.
738738

739-
Some third-party JavaScript libraries that compute the checksum on a
739+
Some third-party JavaScript libraries compute the checksum on a
740740
string based on `str.charCodeAt()` so that it can be run in browsers.
741741
If users want to match the checksum computed with this kind of library
742-
from the browser, it's better to use the same library in Node.js
742+
in the browser, it's better to use the same library in Node.js
743743
if it also runs in Node.js. If users have to use `zlib.crc32()` to
744744
match the checksum produced by such a third-party library:
745745

0 commit comments

Comments
 (0)