Versions in this module Expand all Collapse all v1 v1.2.9 Jan 31, 2024 v1.2.8 Jan 30, 2024 Changes in this version + const EncryptionCipher + const EncryptionNonceSize + const EncryptionVersion + const X25519 + func NewX25519() *suiteX25519 + type EncryptedCryptoData struct + Cipher string + Ciphertext string + MAC string + type EncryptedData struct + Crypto EncryptedCryptoData + Identities EncryptedDataIdentities + Nonce string + Version uint8 + func (ed *EncryptedData) Decrypt(recipientPrivateKey crypto.PrivateKey) ([]byte, error) + func (ed *EncryptedData) Encrypt(data []byte, recipientPubKey crypto.PublicKey, ...) error + type EncryptedDataIdentities struct + EphemeralPubKey string + OriginatorPubKey string + Recipient string + type PrivateKey []byte + func (p *PrivateKey) Public() (PublicKey, error) + type PublicKey []byte