X25519

package
v0.0.0-...-1dd84db Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 19, 2019 License: LGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL