Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ComputeSecret ¶
func ComputeSecret(private *PrivateKey, peersPublic *PublicKey) (secret []byte)
生成密码
Types ¶
type PrivateKey ¶
私钥
func (*PrivateKey) ComputeSecret ¶
func (this *PrivateKey) ComputeSecret(peersPublic *PublicKey) (secret []byte)
生成密码
func (*PrivateKey) Public ¶
func (this *PrivateKey) Public() crypto.PublicKey
Click to show internal directories.
Click to hide internal directories.