MerlinTranscript class

A transcript object for the Merlin cryptographic protocol.

Constructors

MerlinTranscript(String label)
The Strobe instance used for cryptographic operations.
factory
MerlinTranscript.fromStrobe(Strobe strobe)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
strobe → Strobe
final

Methods

additionalData(List<int> label, List<int> message) → void
Appends additional data to the transcript for the Merlin cryptographic protocol.
clone() → MerlinTranscript
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBigint(List<int> label, int outLen) → BigInt
Converts pseudo-random bytes into a BigInt with scalar reduction.
toBytes(List<int> label, int outLen) → List<int>
Generates pseudo-random bytes based on the current transcript state.
toBytesWithReduceScalar(List<int> label, int outLen) → List<int>
Generates pseudo-random bytes and reduces them using scalar reduction.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

merlinVersion → const String