Versions in this module Expand all Collapse all v1 v1.0.0 May 30, 2021 Changes in this version + const PrivateKeySize + const PublicKeySize + const SharedSecretSize + func DeriveSecret(out *[64]byte, pub *PublicKey, prv *PrivateKey, rng io.Reader) bool + func GeneratePrivateKey(key *PrivateKey, rng io.Reader) error + func GeneratePublicKey(pub *PublicKey, prv *PrivateKey, rng io.Reader) + func Validate(pub *PublicKey, rng io.Reader) bool + type PrivateKey struct + func (c *PrivateKey) Import(key []byte) bool + func (c PrivateKey) Export(out []byte) bool + type PublicKey struct + func (c *PublicKey) Export(out []byte) bool + func (c *PublicKey) Import(key []byte) bool