Versions in this module Expand all Collapse all v1 v1.0.0 May 30, 2021 Changes in this version + const CiphertextSize + const EncryptionSeedSize + const KeySeedSize + const PlaintextSize + const PrivateKeySize + const PublicKeySize + func GenerateKey(rand io.Reader) (*PublicKey, *PrivateKey, error) + func NewKeyFromSeed(seed []byte) (*PublicKey, *PrivateKey) + type PrivateKey internal.PrivateKey + func (sk *PrivateKey) DecryptTo(pt []byte, ct []byte) + func (sk *PrivateKey) Equal(other *PrivateKey) bool + func (sk *PrivateKey) Pack(buf []byte) + func (sk *PrivateKey) Unpack(buf []byte) + type PublicKey internal.PublicKey + func (pk *PublicKey) EncryptTo(ct []byte, pt []byte, seed []byte) + func (pk *PublicKey) Pack(buf []byte) + func (pk *PublicKey) Unpack(buf []byte)