pub trait TranscriptWriterBuffer<W: Write, C: CurveAffine, E: EncodedChallenge<C>>: TranscriptWrite<C, E> {
    // 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: Write, C: CurveAffine> TranscriptWriterBuffer<W, C, Challenge255<C>> for Blake2bWrite<W, C, Challenge255<C>>
where C::Scalar: FromUniformBytes<64>,

source§

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