MCPcopy Create free account
hub / github.com/DeAI-Artist/Linkis / Sign

Method Sign

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

Source from the content-addressed store, hash-verified

30type PrivKey interface {
31 Bytes() []byte
32 Sign(msg []byte) ([]byte, error)
33 PubKey() PubKey
34 Equals(PrivKey) bool
35 Type() string

Callers 15

SignVoteMethod · 0.65
SignProposalMethod · 0.65
SignMethod · 0.65
BenchmarkSigningFunction · 0.65
BenchmarkVerificationFunction · 0.65
genPrivKeyFunction · 0.65
SignMethod · 0.65
TestGenPrivKeySecp256k1Function · 0.65
Test_genPrivKeyFunction · 0.65

Implementers 1

privKeyWithNilPubKeyp2p/conn/secret_connection_test.go

Calls

no outgoing calls

Tested by 10

TestGenPrivKeySecp256k1Function · 0.52
Test_genPrivKeyFunction · 0.52
SignMethod · 0.52
makeVoteFunction · 0.52
newEvidenceFunction · 0.52