1
0

README 476 B

12345678910
  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