pub trait TranscriptWriterBuffer<W, C, E>: TranscriptWrite<C, E>
where W: Write, C: CurveAffine, E: EncodedChallenge<C>,
{ // Required methods fn init(writer: W) -> Self; fn finalize(self) -> W; }
Expand description

Manages beginning and finishing of transcript pipeline.

Required Methods§

source

fn init(writer: W) -> Self

Initialize a transcript given an output buffer.

source

fn finalize(self) -> W

Conclude the interaction and return the output buffer (writer).

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<W, C> TranscriptWriterBuffer<W, C, Challenge255<C>> for Keccak256Write<W, C, Challenge255<C>>
where W: Write, C: CurveAffine, <C as PrimeCurveAffine>::Scalar: FromUniformBytes<64>,

source§

impl<W, C> TranscriptWriterBuffer<W, C, Challenge255<C>> for Blake2bWrite<W, C, Challenge255<C>>
where W: Write, C: CurveAffine, <C as PrimeCurveAffine>::Scalar: FromUniformBytes<64>,