some rewording and some links
This commit is contained in:
1 parent
e04e2ab769
commit
f99fd9b8fb
1 file changed
+11
-8
+11
-8
@@ -97,17 +97,20 @@ MACs discovery.
|
|||||||
|
|
||||||
### Crypto
|
### Crypto
|
||||||
|
|
||||||
Weave encrypts traffic over both TCP and UDP between peers. Weave
|
Weave can be configures to encrypt both the data passing over the TCP
|
||||||
uses the NaCl crypto libraries, using Curve25519, XSalsa20 and Poly1305
|
connections and the payloads of UDP packets sent between peers. This
|
||||||
to encrypt and authenticate messages. Weave protects against injection
|
is accomplished using the [NaCl](http://nacl.cr.yp.to/) crypto
|
||||||
and replay attacks for traffic forwarded between peers.
|
libraries, employing Curve25519, XSalsa20 and Poly1305 to encrypt and
|
||||||
|
authenticate messages. Weave protects against injection and replay
|
||||||
|
attacks for traffic forwarded between peers.
|
||||||
|
|
||||||
NaCl was selected because of its good reputation both in terms of
|
NaCl was selected because of its good reputation both in terms of
|
||||||
selection and implementation of ciphers, but equally importantly, its
|
selection and implementation of ciphers, but equally importantly, its
|
||||||
clear APIs and good documentation. It is quite difficult to use NaCl
|
clear APIs, good documentation and high-quality
|
||||||
incorrectly. Contrast this with libraries such as OpenSSL where the
|
[go implementation](https://godoc.org/golang.org/x/crypto/nacl). It is
|
||||||
size of the library and its APIs are vast, poorly documented, and
|
quite difficult to use NaCl incorrectly. Contrast this with libraries
|
||||||
easily used wrongly.
|
such as OpenSSL where the library and its APIs are vast in size,
|
||||||
|
poorly documented, and easily used wrongly.
|
||||||
|
|
||||||
#### Establishing the Ephemeral Session Key
|
#### Establishing the Ephemeral Session Key
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user