Versions in this module Expand all Collapse all v0 v0.1.0 Aug 13, 2026 Changes in this version + const InfoString + func AAD(installationID, eventID string, sequence uint64, expiresAt int64) []byte + func KeyPair() (pub, priv []byte, err error) + func Open(receiverPriv, enc, ciphertext, aad []byte) (plaintext []byte, err error) + func Seal(receiverPub, plaintext, aad []byte) (enc, ciphertext []byte, err error) + type Envelope struct + AADHash []byte + Ciphertext []byte + CreatedAt int64 + Enc []byte + EventID string + ExpiresAt int64 + InstallationID string + KeyID string + ProtoVersion int + Sequence uint64 + Silent bool