Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
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)
194
func
(dsa *dsa) GetPrivateKey() *big.Int {
195
return
dsa.privKey
196
}
Callers
3
TestDSA
Function · 0.45
BenchmarkDSASign
Function · 0.45
BenchmarkDSAVerify
Function · 0.45
Calls
no outgoing calls
Tested by
3
TestDSA
Function · 0.36
BenchmarkDSASign
Function · 0.36
BenchmarkDSAVerify
Function · 0.36