MCPcopy
hub / github.com/canopy-network/canopy / Sign

Method Sign

lib/crypto/key.go:31–31  ·  view source on GitHub ↗
(msg []byte)

Source from the content-addressed store, hash-verified

29type PrivateKeyI interface {
30 Bytes() []byte
31 Sign(msg []byte) []byte
32 PublicKey() PublicKeyI
33 // String() returns the hex string representation
34 String() string

Callers 12

SignMethod · 0.65
BigPowMethod · 0.65
ReducedMethod · 0.65
encodeBigIntFunction · 0.65
floorDivisionFunction · 0.65
safeGCDFunction · 0.65
SignMethod · 0.65
TestED25519SignAndVerifyFunction · 0.65
TestKeyBatchFuzzFunction · 0.65
TestBenchmarkBatchFunction · 0.65
SignMethod · 0.65

Implementers 3

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

Calls

no outgoing calls

Tested by 4

TestED25519SignAndVerifyFunction · 0.52
TestKeyBatchFuzzFunction · 0.52
TestBenchmarkBatchFunction · 0.52