small_num

package
v0.0.0-...-324a32f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Modexp

func Modexp(n, e, m uint32) (r uint32)

Types

type SmallDH

type SmallDH struct {
	A uint32
	// contains filtered or unexported fields
}

func NewSmallNumDiffieHellman

func NewSmallNumDiffieHellman(p, g uint32) *SmallDH

func (*SmallDH) Key

func (dh *SmallDH) Key() uint32

func (*SmallDH) Negotiate

func (dh *SmallDH) Negotiate(B uint32)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL