Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@aws-crypto/crc32

Package Overview
Dependencies
Maintainers
8
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-crypto/crc32

Pure JS implementation of CRC32 https://en.wikipedia.org/wiki/Cyclic_redundancy_check

latest
Source
npmnpm
Version
5.2.0
Version published
Weekly downloads
16M
0.58%
Maintainers
8
Weekly downloads
 
Created

What is @aws-crypto/crc32?

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.

What are @aws-crypto/crc32's main functionalities?

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);

Other packages similar to @aws-crypto/crc32

FAQs

Package last updated on 16 Oct 2023

Did you know?

Socket

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.

Install

Related posts