
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
A Crypto Hash (Stream) implementation for the CRC algorithm.
Node.js's Crypto module implements the Hash class which offers a simple Stream-based interface for creating hash digests of data. The createHash function supports many popular algorithms like SHA and MD5, but does not include older/simpler CRC algorithms like CRC-32. Fortunately, the crc package in npm provides comprehensive CRC support and offers an API that can be conveniently used by a Hash subclass.
crc-hash
is a Crypto Hash wrapper for the crc
package that makes it easy for Node.js programs to use the CRC family of hash algorithms via a standard interface.
All algorithms implemented by crc
are supported by crc-hash
:
/**
* Creates and returns a hash object which can be used to generate CRC hash digests.
*
* @param {string} algorithm CRC algorithm (supported values: crc32, crc24, crc16, crc16ccitt, crc16modbus, crc8, crc81wire, crc1).
* @return {Stream.Transform} Duplex stream as with Crypto.Hash (including legacy update/digest methods).
*/
createHash(algorithm)
See also:
FAQs
A Crypto Hash (Stream) implementation for the CRC algorithm.
The npm package crc-hash receives a total of 41 weekly downloads. As such, crc-hash popularity was classified as not popular.
We found that crc-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
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.