Versions in this module Expand all Collapse all v1 v1.0.0 Aug 19, 2026 Changes in this version + const FormatVersion + const PrivateKeySize + const PublicKeySize + func Open(recipient KeyPair, box SealedKey) ([]byte, error) + type KeyPair struct + Private []byte + Public []byte + func GenerateKeyPair() (KeyPair, error) + type SealedKey struct + CiphertextWithTag []byte + EphemeralPublicKey []byte + Nonce []byte + RecipientKeyID string + func Parse(value string) (SealedKey, error) + func Seal(recipientPublicKey []byte, recipientKeyID string, plaintext []byte) (SealedKey, error) + func (s SealedKey) Serialize() string