Documentation ¶ Index ¶ func Exchange(privateKeyA *ed25519.PrivateKey, publicKeyB *ed25519.PublicKey) ([32]byte, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Exchange ¶ func Exchange( privateKeyA *ed25519.PrivateKey, publicKeyB *ed25519.PublicKey) ([32]byte, error) Exchange does a simple x25519 keyexchange Give it an ed25519.PrivateKey and an ed25519.PublicKey and retrieve the shared secret and an error code if something went wrong. Types ¶ This section is empty. Source Files ¶ View all Source files x25519.go Click to show internal directories. Click to hide internal directories.