MCPcopy Create free account
hub / github.com/cloudflare/roughtime / CalculateChainNonce

Function CalculateChainNonce

protocol/protocol.go:237–248  ·  view source on GitHub ↗

CalculateChainNonce fills the `nonce` buffer with the nonce used in the next request in a chain given a reply and a blinding factor. The length of the buffer is expected to match the nonce length for the protocol version.

(nonce, prevReply, blind []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

VerifyMethod · 0.92
TestChainingFunction · 0.85
CreateRequestFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestChainingFunction · 0.68