MCPcopy Create free account
hub / github.com/NextDotID/proof_server / MarshalSignature

Function MarshalSignature

model/proof_chain.go:212–214  ·  view source on GitHub ↗

MarshalSignature converts []byte signature into string.

(signature []byte)

Source from the content-addressed store, hash-verified

210
211// MarshalSignature converts []byte signature into string.
212func MarshalSignature(signature []byte) string {
213 return base64.StdEncoding.EncodeToString(signature)
214}
215
216func ProofChainFindLatest(persona string) (pc *ProofChain, err error) {
217 pc = new(ProofChain)

Callers 3

Test_ApplyFunction · 0.85

Calls

no outgoing calls

Tested by 2

Test_ApplyFunction · 0.68