Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DiffieHellman ¶
type DiffieHellman struct {
// contains filtered or unexported fields
}
func NewDiffieHellman ¶
func NewDiffieHellman() (dh *DiffieHellman, err error)
func (*DiffieHellman) Exchange ¶
func (dh *DiffieHellman) Exchange(remoteKeyBytes []byte) []byte
func (*DiffieHellman) PublicKeyBytes ¶
func (dh *DiffieHellman) PublicKeyBytes() []byte
func (*DiffieHellman) SharedSecretBytes ¶
func (dh *DiffieHellman) SharedSecretBytes() []byte
Click to show internal directories.
Click to hide internal directories.