KCl v0.1.0 Kcl
A poor NaCl crypto suite substitute
The functions exposed here are the equivalent of (and interoperable with):
crypto_box_curve25519xsalsa20poly1305
crypto_box_curve25519xsalsa20poly1305_open
At this time, no support is provided for multiple packets/streaming or nonce-agreement.
Summary
Functions
box up an authenticated packet
derive a public key from a private key
generate a private/public key pair
pre-compute a shared key
unbox an authenticated packet
Types
Functions
box up an authenticated packet
box/3
uses the result of shared_secret
box/4
will recompute this key from the parties’ secret and public keys.
derive a public key from a private key
generate a private/public key pair