terl / lazysodium-java

A Java implementation of the Libsodium crypto library. For the lazy dev.
https://github.com/terl/lazysodium-java/wiki
Mozilla Public License 2.0
135 stars 47 forks source link

Fix documentation for KeyPair cryptoKxServerSessionKeys method #37

Closed rmtmckenzie closed 6 years ago

rmtmckenzie commented 6 years ago

The description for the serverKeyPair and clientKeyPair parameters were reversed - it stated that the only the server's public key should be provided but the client's public and private keys should be, which is incorrect. I assume a copy-paste error =D.

gurpreet- commented 6 years ago

Hello! Thanks for this.

Indeed seems like a copy and past error on my part.