Versions in this module Expand all Collapse all v0 v0.0.1 Dec 17, 2020 Changes in this version + const AnonymousOverhead + 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 OpenAnonymous(out, box []byte, publicKey, privateKey *[32]byte) (message []byte, ok 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 + func SealAnonymous(out, message []byte, recipient *[32]byte, rand io.Reader) ([]byte, error)