Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/canopy-network/canopy
/ PublicKey
Method
PublicKey
lib/crypto/key.go:32–32 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
30
Bytes() []byte
31
Sign(msg []byte) []byte
32
PublicKey() PublicKeyI
33
// String() returns the hex string representation
34
String() string
35
Equals(PrivateKeyI) bool
Callers
15
New
Function · 0.65
TestNewValidatorSet
Function · 0.65
Sign
Method · 0.65
Equals
Method · 0.65
TestED25519Bytes
Function · 0.65
TestED25519SignAndVerify
Function · 0.65
TestNewPublicKeyFromString
Function · 0.65
TestNewPublicKeyFromBytes
Function · 0.65
TestKeyBatchFuzz
Function · 0.65
TestBenchmarkBatch
Function · 0.65
NewKeyGroup
Function · 0.65
ImportRaw
Method · 0.65
Implementers
3
SECP256K1PrivateKey
lib/crypto/secp256k1.go
ED25519PrivateKey
lib/crypto/ed25519.go
BLS12381PrivateKey
lib/crypto/bls.go
Calls
no outgoing calls
Tested by
15
TestNewValidatorSet
Function · 0.52
TestED25519Bytes
Function · 0.52
TestED25519SignAndVerify
Function · 0.52
TestNewPublicKeyFromString
Function · 0.52
TestNewPublicKeyFromBytes
Function · 0.52
TestKeyBatchFuzz
Function · 0.52
TestBenchmarkBatch
Function · 0.52
TestSharedSecret
Function · 0.52
TestECDH
Function · 0.52
newTestTxResult
Function · 0.52
TestHandleMessageCertificateResults
Function · 0.52
TestBeginBlock
Function · 0.52