
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
node-file-hash
Advanced tools
Generated by OSS Project Generator.
Compute the md5, sha1 and sha256 hashs of a string or buffer.
Install package
$ npm install --save node-file-hash
const lib = require('node-file-hash');
lib.createHash('Buffer')
.then((hash) => console.log(hash))
.catch((err) => console.error(err));
Output
{
"md5": "7e62bc342f41c946868f0ea6f0b712d8",
"sha1": "2be5f64b36230104ef9c6e230215846a83d18df6",
"sha256": "e44193fd2d21722a46c8fcab041508d4c5be95a34828b72c631df53e8d7e20a6"
}
$ git clone https://github.com/robertoachar/node-file-hash.git
$ npm install
| Action | Usage |
|---|---|
| Starting development mode | npm start |
| Linting code | npm run lint |
| Running unit tests | npm run jest |
| Running code coverage | npm run coverage |
| Running lint + tests | npm test |
| Sending coverage results to Coveralls.io | npm run coveralls |
FAQs
Compute the md5, sha1 and sha256 hashs of a string or buffer.
We found that node-file-hash demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.