NeahNew/node_modules/@aws-crypto/crc32c
2025-05-04 13:45:45 +02:00
..
build pages s3 2025-05-04 13:45:45 +02:00
src pages s3 2025-05-04 13:45:45 +02:00
CHANGELOG.md pages s3 2025-05-04 13:45:45 +02:00
LICENSE pages s3 2025-05-04 13:45:45 +02:00
package.json pages s3 2025-05-04 13:45:45 +02:00
README.md pages s3 2025-05-04 13:45:45 +02:00
tsconfig.json pages s3 2025-05-04 13:45:45 +02:00
tsconfig.module.json pages s3 2025-05-04 13:45:45 +02:00

@aws-crypto/crc32c

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

Usage

import { Crc32c } from '@aws-crypto/crc32c';

const crc32Digest = (new Crc32c).update(buffer).digest()

Test

npm test