MCPcopy Index your code
hub / github.com/TheAlgorithms/Go / GetPublicKey

Method GetPublicKey

cipher/dsa/dsa.go:184–186  ·  view source on GitHub ↗

GetPublicKey returns the public key (y)

()

Source from the content-addressed store, hash-verified

182
183// GetPublicKey returns the public key (y)
184func (dsa *dsa) GetPublicKey() *big.Int {
185 return dsa.pubKey
186}
187
188// GetParameters returns the DSA parameters (p, q, g)
189func (dsa *dsa) GetParameters() parameters {

Callers 2

TestDSAFunction · 0.45
BenchmarkDSAVerifyFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestDSAFunction · 0.36
BenchmarkDSAVerifyFunction · 0.36