Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
30
type
PrivKey
interface
{
31
Bytes() []byte
32
Sign(msg []byte) ([]byte, error)
33
PubKey() PubKey
34
Equals(PrivKey) bool
35
Type() string
Callers
15
TestValidatorSet_VerifyCommit_All
Function · 0.65
SignVote
Method · 0.65
SignProposal
Method · 0.65
Sign
Method · 0.65
TestSignAndValidateEd25519
Function · 0.65
BenchmarkSigning
Function · 0.65
BenchmarkVerification
Function · 0.65
genPrivKey
Function · 0.65
Sign
Method · 0.65
TestSignAndValidateSecp256k1
Function · 0.65
TestGenPrivKeySecp256k1
Function · 0.65
Test_genPrivKey
Function · 0.65
Implementers
1
privKeyWithNilPubKey
p2p/conn/secret_connection_test.go
Calls
no outgoing calls
Tested by
10
TestValidatorSet_VerifyCommit_All
Function · 0.52
TestSignAndValidateEd25519
Function · 0.52
TestSignAndValidateSecp256k1
Function · 0.52
TestGenPrivKeySecp256k1
Function · 0.52
Test_genPrivKey
Function · 0.52
TestSignatureVerificationAndRejectUpperS
Function · 0.52
TestSignAndValidateSr25519
Function · 0.52
Sign
Method · 0.52
makeVote
Function · 0.52
newEvidence
Function · 0.52