serval-dna/nacl/nacl-20110221/curvecp/README
Daniel O'Connor bf9710fd5a Unpacked nacl-20110221 after processing by nacl-prepare-sources.
This only affects build_android, if nacl-gcc-prep is run then build/`uname -s` will be created.
2012-02-27 12:40:14 +10:30

11 lines
476 B
Plaintext

Example of use (with nacl-20110221/build/*/bin in $PATH):
curvecpmakekey serverkey
curvecpprintkey serverkey > serverkey.hex
curvecpserver this.machine.name serverkey \
127.0.0.1 10000 31415926535897932384626433832795 \
curvecpmessage cat /usr/share/dict/words &
curvecpclient this.machine.name `cat serverkey.hex` \
127.0.0.1 10000 31415926535897932384626433832795 \
curvecpmessage -c sh -c 'nacl-sha512 <&6'
nacl-sha512 < /usr/share/dict/words