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

Method GetPrivateKey

cipher/dsa/dsa.go:194–196  ·  view source on GitHub ↗

GetPrivateKey returns the private Key (x)

()

Source from the content-addressed store, hash-verified

192
193// GetPrivateKey returns the private Key (x)
194func (dsa *dsa) GetPrivateKey() *big.Int {
195 return dsa.privKey
196}

Callers 3

TestDSAFunction · 0.45
BenchmarkDSASignFunction · 0.45
BenchmarkDSAVerifyFunction · 0.45

Calls

no outgoing calls

Tested by 3

TestDSAFunction · 0.36
BenchmarkDSASignFunction · 0.36
BenchmarkDSAVerifyFunction · 0.36