Skip to content

Commit

Permalink
Release 1.4.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Mar 14, 2024
1 parent 396da92 commit 531daab
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ console.log(sha256('abc')); // == sha256(new TextEncoder().encode('abc'))

All hash functions:

- can be called directly, with `Uint8Array`.
- return `Uint8Array`
- can receive `string`, which is automatically converted to `Uint8Array`
- receive `Uint8Array` and return `Uint8Array`
- may receive `string`, which is automatically converted to `Uint8Array`
via utf8 encoding **(not hex)**
- support hashing 4GB of data per update on 64-bit systems (unlimited with streaming)
- support little-endian and big-endian architectures
- can hash up to 4GB per chunk, with any amount of chunks

```ts
function hash(message: Uint8Array | string): Uint8Array;
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@noble/hashes",
"version": "1.3.3",
"version": "1.4.0",
"description": "Audited & minimal 0-dependency JS implementation of SHA, RIPEMD, BLAKE, HMAC, HKDF, PBKDF & Scrypt",
"files": [
"/*.js",
Expand Down

0 comments on commit 531daab

Please sign in to comment.