Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@aws-crypto/crc32
Advanced tools
Pure JS implementation of CRC32 https://en.wikipedia.org/wiki/Cyclic_redundancy_check
The @aws-crypto/crc32 package is a JavaScript implementation of the CRC32 algorithm, which is used to compute a cyclic redundancy check (CRC) value for a given input. This is useful for error-checking and ensuring the integrity of data.
Calculate CRC32 checksum
This feature allows you to calculate the CRC32 checksum of a given input buffer. The input is a Uint8Array, and the output is a number representing the CRC32 checksum.
const { crc32 } = require('@aws-crypto/crc32');
const checksum = crc32(new Uint8Array([0x00, 0x01, 0x02]));
console.log(checksum);
The buffer-crc32 package is another npm package that provides a similar functionality to @aws-crypto/crc32. It allows for the calculation of CRC32 checksums for buffers. It is a simple and fast implementation, but it is not maintained by a major organization like AWS.
The crc package is a more comprehensive package for calculating CRC checksums. It supports various CRC algorithms, including CRC32. It offers a wider range of functionality compared to @aws-crypto/crc32, which is focused solely on CRC32.
Pure JS implementation of CRC32 https://en.wikipedia.org/wiki/Cyclic_redundancy_check
import { Crc32 } from '@aws-crypto/crc32';
const crc32Digest = (new Crc32).update(buffer).digest()
npm test
1.2.0 (2021-09-17)
Adding ie11-detection dependency to sha1-browser (#213) (138750d)
feat!: Remove support for old version of Node.js (#210) (eb9100d), closes #210
FAQs
Pure JS implementation of CRC32 https://en.wikipedia.org/wiki/Cyclic_redundancy_check
The npm package @aws-crypto/crc32 receives a total of 0 weekly downloads. As such, @aws-crypto/crc32 popularity was classified as not popular.
We found that @aws-crypto/crc32 demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 8 open source maintainers 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
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.