Metzploreur/node_modules/@aws-crypto/crc32
clement callaert 244d45ceb8 Version 2
2023-11-01 17:33:25 +01:00
..
build Version 2 2023-11-01 17:33:25 +01:00
node_modules/tslib Version 2 2023-11-01 17:33:25 +01:00
src Version 2 2023-11-01 17:33:25 +01:00
CHANGELOG.md Version 2 2023-11-01 17:33:25 +01:00
LICENSE Version 2 2023-11-01 17:33:25 +01:00
package.json Version 2 2023-11-01 17:33:25 +01:00
README.md Version 2 2023-11-01 17:33:25 +01:00
tsconfig.json Version 2 2023-11-01 17:33:25 +01: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