MCPcopy
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

NewFunction · 0.65
TestNewValidatorSetFunction · 0.65
SignMethod · 0.65
EqualsMethod · 0.65
TestED25519BytesFunction · 0.65
TestED25519SignAndVerifyFunction · 0.65
TestKeyBatchFuzzFunction · 0.65
TestBenchmarkBatchFunction · 0.65
NewKeyGroupFunction · 0.65
ImportRawMethod · 0.65

Implementers 3

SECP256K1PrivateKeylib/crypto/secp256k1.go
ED25519PrivateKeylib/crypto/ed25519.go
BLS12381PrivateKeylib/crypto/bls.go

Calls

no outgoing calls

Tested by 15

TestNewValidatorSetFunction · 0.52
TestED25519BytesFunction · 0.52
TestED25519SignAndVerifyFunction · 0.52
TestKeyBatchFuzzFunction · 0.52
TestBenchmarkBatchFunction · 0.52
TestSharedSecretFunction · 0.52
TestECDHFunction · 0.52
newTestTxResultFunction · 0.52
TestBeginBlockFunction · 0.52