Documentation ¶
Index ¶
Constants ¶
View Source
const ( PublicKeySize = 32 PrivateKeySize = 32 )
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate() (*PublicKey, *PrivateKey)
Types ¶
type PrivateKey ¶
type PrivateKey = ecdh.PrivateKey
func PrivateKeyFromBytes ¶
func PrivateKeyFromBytes(bytes []byte) (*PrivateKey, error)
Click to show internal directories.
Click to hide internal directories.