diff options
Diffstat (limited to 'nacl/curvecp/README')
-rw-r--r-- | nacl/curvecp/README | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/nacl/curvecp/README b/nacl/curvecp/README new file mode 100644 index 00000000..1048c894 --- /dev/null +++ b/nacl/curvecp/README | |||
@@ -0,0 +1,10 @@ | |||
1 | Example of use (with nacl-20110221/build/*/bin in $PATH): | ||
2 | curvecpmakekey serverkey | ||
3 | curvecpprintkey serverkey > serverkey.hex | ||
4 | curvecpserver this.machine.name serverkey \ | ||
5 | 127.0.0.1 10000 31415926535897932384626433832795 \ | ||
6 | curvecpmessage cat /usr/share/dict/words & | ||
7 | curvecpclient this.machine.name `cat serverkey.hex` \ | ||
8 | 127.0.0.1 10000 31415926535897932384626433832795 \ | ||
9 | curvecpmessage -c sh -c 'nacl-sha512 <&6' | ||
10 | nacl-sha512 < /usr/share/dict/words | ||