MCPcopy Create free account
hub / github.com/OCEChain/OCEChain / Sign

Method Sign

crypto/keys/keybase.go:237–285  ·  view source on GitHub ↗

Sign signs the msg with the named key. It returns an error if the key doesn't exist or the decryption fails.

(name, passphrase string, msg []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 4

GetMethod · 0.95
PubKeyMethod · 0.80
GetPubKeyMethod · 0.65
SignMethod · 0.65

Tested by

no test coverage detected