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

Method GetParameters

cipher/dsa/dsa.go:189–191  ·  view source on GitHub ↗

GetParameters returns the DSA parameters (p, q, g)

()

Source from the content-addressed store, hash-verified

187
188// GetParameters returns the DSA parameters (p, q, g)
189func (dsa *dsa) GetParameters() parameters {
190 return dsa.parameters
191}
192
193// GetPrivateKey returns the private Key (x)
194func (dsa *dsa) GetPrivateKey() *big.Int {

Callers 3

TestDSAFunction · 0.80
BenchmarkDSASignFunction · 0.80
BenchmarkDSAVerifyFunction · 0.80

Calls

no outgoing calls

Tested by 3

TestDSAFunction · 0.64
BenchmarkDSASignFunction · 0.64
BenchmarkDSAVerifyFunction · 0.64