Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/encodeous/nylon
/ Pubkey
Method
Pubkey
state/crypto.go:27–33 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
25
}
26
27
func
(k NyPrivateKey) Pubkey() NyPublicKey {
28
val, err := x25519.PrivateKey(k[:]).PublicKey()
29
if
err != nil {
30
panic(err)
31
}
32
return
NyPublicKey(val)
33
}
Callers
15
TestPubkey
Function · 0.95
NewNode
Method · 0.80
handleStatus
Function · 0.80
SampleNetwork
Function · 0.80
BundleConfig
Function · 0.80
TestBundleUnbundle
Function · 0.80
TestBundleTamper
Function · 0.80
TestBundleInvalidSign
Function · 0.80
TestBundleInvalidData1
Function · 0.80
TestBundleInvalidData2
Function · 0.80
TestGenerateKey
Function · 0.80
utils.go
File · 0.80
Calls
1
NyPublicKey
TypeAlias · 0.85
Tested by
15
TestPubkey
Function · 0.76
SampleNetwork
Function · 0.64
TestBundleUnbundle
Function · 0.64
TestBundleTamper
Function · 0.64
TestBundleInvalidSign
Function · 0.64
TestBundleInvalidData1
Function · 0.64
TestBundleInvalidData2
Function · 0.64
TestGenerateKey
Function · 0.64
TestRecoveryExample
Function · 0.64
TestJSONLogging
Function · 0.64
TestConnectivity
Function · 0.64
TestIPCRawSocketJSONHasNoErrnoTrailer
Function · 0.64