DeadHash - JS version
-
Updated
Oct 19, 2023 - JavaScript
DeadHash - JS version
Calculating file hash in node.js
This code generates a SHA-256 hash for a file by prompting the user to enter the file path, reading the file into a buffer using the fs module, and then calculating the hash using the crypto module. The hash is output to the console and the program is terminated.
Add a description, image, and links to the file-hash topic page so that developers can more easily learn about it.
To associate your repository with the file-hash topic, visit your repo's landing page and select "manage topics."