Versions in this module Expand all Collapse all v0 v0.0.2 Sep 4, 2024 v0.0.1 Aug 23, 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