Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Transcript ¶
type Transcript struct {
// contains filtered or unexported fields
}
func NewTranscript ¶
func NewTranscript(appLabel string) *Transcript
func (*Transcript) AppendMessage ¶
func (t *Transcript) AppendMessage(label, message []byte)
Append adds the message to the transcript with the supplied label.
func (*Transcript) ExtractBytes ¶
func (t *Transcript) ExtractBytes(label []byte, outLen int) []byte
ExtractBytes returns a buffer filled with the verifier's challenge bytes. The label parameter is metadata about the challenge, and is also appended to the transcript. See the Transcript Protocols section of the Merlin website for details on labels.
Click to show internal directories.
Click to hide internal directories.