convert method

  1. @override
Digest convert(
  1. List<int> input
)
inherited

Converts input and returns the result of the conversion.

Implementation

@override
Digest convert(List<int> input) {
  var innerSink = DigestSink();
  var outerSink = startChunkedConversion(innerSink);
  outerSink.add(input);
  outerSink.close();
  return innerSink.value;
}