]> git.codecow.com Git - Monocypher.git/commit
Improve the man page for crypto_key_exchange
authorCuleX <cculex@gmail.com>
Sat, 9 Sep 2017 10:27:13 +0000 (12:27 +0200)
committerCuleX <cculex@gmail.com>
Sat, 9 Sep 2017 10:27:13 +0000 (12:27 +0200)
commitfb5cc6ff272ef10665b69e6effb2237c50513673
tree2a47a3db57a3f974fc2fd687230d3d637ee3a27f
parent8a438907eac730736095b2c54b60e0b889044d22
Improve the man page for crypto_key_exchange

1. Improve wording in the section on public keys that yield an all-zero
   result.
2. Fix casing (HCHacha20 -> HChacha20).
3. Resolve contraction to keep the manual style.
4. Add example for key generation and key exchange.  It's not quite
   obvious that you just use straight random bytes.  If coming from
   other X25519 implementations, it may be a surprise not having to
   trim the key.  If coming from other public key cryptographic systems,
   it may be a surprise that key generation is this straightforward.
man/3monocypher/crypto_key_exchange.3monocypher