Documentation ¶
Index ¶
Constants ¶
View Source
const (
KeyLen = 32
)
Variables ¶
This section is empty.
Functions ¶
func GeneratePrivkey ¶
GeneratePrivkey generates a private key. The corresponding public key can be derived using PubkeyFromPrivkey.
func NewConfig ¶
NewConfig instantiates configuration settings that are common to clients and servers.
func PubkeyFromPrivkey ¶
PubkeyFromPrivkey returns the public key that corresponds to privkey.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.