Versions in this module Expand all Collapse all v0 v0.10.4 Jul 25, 2018 Changes in this version + func DecryptAES(key, ciphertext, nonce, aad []byte) ([]byte, error) + func EncryptAES(key, plaintext, aad []byte) ([]byte, []byte, error) + func GeneratePublicPrivateKey() ([]byte, []byte, error) + func GenerateSharedKey(ourPrivate, theirPublic []byte) ([]byte, error) + type Envelope struct + Curve25519PublicKey []byte + EncryptedPayload []byte + Nonce []byte + type PublicKeyInfo struct + Curve25519PublicKey []byte