Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GeneratePrivateKey ¶
func GeneratePrivateKey() [keySize]byte
GeneratePrivateKey returns random bytes.
func SharedSecret ¶
SharedSecret returns a Curve25519 shared secret derived from privateKey and otherPublicKey.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.