Skip to content

Commit a278f34

Browse files
committed
fix minor mistake (message should be bytes)
1 parent 5bd20f5 commit a278f34

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)