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