Skip to content

Commit

Permalink
README: mention that example uses tweetnacl-util
Browse files Browse the repository at this point in the history
  • Loading branch information
dchest committed Dec 21, 2016
1 parent 7243a93 commit 6d58bc2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ which is the secret value) into a 32-byte Curve25519 secret key and returns it.
Example
-------

(Note: example uses [tweetnacl-util](https://github.com/dchest/tweetnacl-util-js)
to convert bytes)

```javascript
// Generate new sign key pair.
var myKeyPair = nacl.sign.keyPair();
Expand Down

0 comments on commit 6d58bc2

Please sign in to comment.