MerlinTranscript constructor

MerlinTranscript(
  1. String label
)

The Strobe instance used for cryptographic operations.

Implementation

factory MerlinTranscript(String label) {
  final transcript = MerlinTranscript.fromStrobe(
      Strobe(merlinVersion, StrobeSecParam.sec128));
  transcript.additionalData("dom-sep".codeUnits, label.codeUnits);
  return transcript;
}