Skip to content

Commit

Permalink
fix(docs): update README for packages/util (#382)
Browse files Browse the repository at this point in the history
  • Loading branch information
josecorella committed Jul 8, 2022
1 parent 3a08215 commit f3e650e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/util/README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
# @aws-crypto/crc32c
# @aws-crypto/util

Pure JS implementation of CRC32-C https://en.wikipedia.org/wiki/Cyclic_redundancy_check
Helper functions

## Usage

```
import { Crc32c } from '@aws-crypto/crc32c';
const crc32Digest = (new Crc32c).update(buffer).digest()
import { convertToBuffer } from '@aws-crypto/util';
const data = "asdf";
const utf8EncodedUint8Array = convertToBuffer(data);
```

## Test
Expand Down

0 comments on commit f3e650e

Please sign in to comment.