package
1.0.0
Repository: https://github.com/agitdevcenter/gopkg.git
Documentation: pkg.go.dev

# Functions

Check returns a non-nil error if the given public key is not a possible element of the group.
ComputeSecret returns the secret computed from the own private and the peer's public key.
GenerateKey generates a public/private key pair using entropy from rand.
IsSafePrime returns true, if the prime of the group is a so called safe-prime.
PublicKey returns the public key corresponding to the given private one.

# Variables

G Generator.
P Big Prime.