Versions in this module Expand all Collapse all v0 v0.0.5 Oct 25, 2023 v0.0.4 Oct 25, 2023 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