NeahNew/node_modules/@aws-crypto/crc32
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/crc32

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

Usage

import { Crc32 } from '@aws-crypto/crc32';

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

Test

npm test