Versions in this module Expand all Collapse all v1 v1.6.7 Feb 27, 2018 Changes in this version + const Overhead + func GenerateKey(rand io.Reader) (publicKey, privateKey *[32]byte, err error) + func Open(out, box []byte, nonce *[24]byte, peersPublicKey, privateKey *[32]byte) ([]byte, bool) + func OpenAfterPrecomputation(out, box []byte, nonce *[24]byte, sharedKey *[32]byte) ([]byte, bool) + func Precompute(sharedKey, peersPublicKey, privateKey *[32]byte) + func Seal(out, message []byte, nonce *[24]byte, peersPublicKey, privateKey *[32]byte) []byte + func SealAfterPrecomputation(out, message []byte, nonce *[24]byte, sharedKey *[32]byte) []byte