17 lines
254 B
Markdown
17 lines
254 B
Markdown
# @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`
|