File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -733,13 +733,13 @@ in data transmission. It's not suitable for cryptographic authentication.
733733
734734To be consistent with other APIs, if the ` data ` is a string, it will
735735be 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
737737other 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
740740string based on ` str.charCodeAt() ` so that it can be run in browsers.
741741If 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
743743if it also runs in Node.js. If users have to use ` zlib.crc32() ` to
744744match the checksum produced by such a third-party library:
745745
You can’t perform that action at this time.
0 commit comments