aboutsummaryrefslogtreecommitdiff
path: root/readme.md
diff options
context:
space:
mode:
Diffstat (limited to 'readme.md')
-rw-r--r--readme.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/readme.md b/readme.md
index d2a79bb..9e868e1 100644
--- a/readme.md
+++ b/readme.md
@@ -61,6 +61,7 @@ Then you publish a message containing
"key": <sha512 hash of content>,
"signature": <signature of content>
}
+```
To view the message, you use `nacl.sign.open` passing Uint8Arrays of the signature and publickey as paramaters.