npm.io
5.2.0 • Published 2 years ago

@aws-crypto/crc32

Licence
Apache-2.0
Version
5.2.0
Deps
3
Size
43 kB
Vulns
0
Weekly
0
Stars
69

@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