mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-22 22:42:28 +00:00
11 lines
476 B
Plaintext
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
|