You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+31-2Lines changed: 31 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -3312,9 +3312,38 @@ var memcached = new Memcached('localhost:11211', {retries:10,retry:10000,remove:
3312
3312
<b><a href="#">↥ back to top</a></b>
3313
3313
</div>
3314
3314
3315
-
#### 76Q. ***How to use locale (i18n) in Node.js?***
3315
+
## 76Q. ***How to generate and verify checksum of the given string in Node.js***
3316
+
3317
+
The **checksum** (aka **hash sum**) calculation is a one-way process of mapping an extensive data set of variable length (e.g., message, file), to a smaller data set of a fixed length (hash). The length depends on a hashing algorithm.
3318
+
3319
+
For the checksum generation, we can use node `crypto()` module. The module uses `createHash(algorithm)` to create a checksum (hash) generator. The algorithm is dependent on the available algorithms supported by the version of OpenSSL on the platform.
0 commit comments