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 New ¶
func New(primeNumber ...int64) (*DiffieHellman, error)
func (*DiffieHellman) GenerateTransportKey ¶
func (dh *DiffieHellman) GenerateTransportKey(publicKey int64) int64
func (*DiffieHellman) GetPrivateKey ¶
func (dh *DiffieHellman) GetPrivateKey() int64
func (*DiffieHellman) GetPublicKey ¶
func (dh *DiffieHellman) GetPublicKey() int64
func (*DiffieHellman) SetPrimeNumber ¶
func (dh *DiffieHellman) SetPrimeNumber(primeNumber int64) error
Click to show internal directories.
Click to hide internal directories.
