MCPcopy Create free account
hub / github.com/WireGuard/wgctrl-go / GeneratePrivateKey

Function GeneratePrivateKey

wgtypes/types.go:95–108  ·  view source on GitHub ↗

GeneratePrivateKey generates a Key suitable for use as a private key from a cryptographically safe source.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

mustKeyPairFunction · 0.92
MustPrivateKeyFunction · 0.92

Calls 1

GenerateKeyFunction · 0.85

Tested by 1

mustKeyPairFunction · 0.74