Skip to content

Commit 5d14da3

Browse files
authored
Merge pull request #58 from bdpdx/bdpdx/add-hash-with-bytes-methods
fix minor mistake (message should be bytes)
2 parents 21df64e + a278f34 commit 5d14da3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ sha256("Test").then( hash => {
4444
const message = new Uint8Array(8);
4545
const bytes = Array.from(message);
4646

47-
sha256Bytes(message).then( hash => {
47+
sha256Bytes(bytes).then( hash => {
4848
console.log(hash);
4949
})
5050
```

0 commit comments

Comments
 (0)