convert method

HashDigest convert(
  1. List<int> input
)

Process the byte array input and returns a HashDigest.

Implementation

@pragma('vm:prefer-inline')
HashDigest convert(List<int> input) {
  final sink = createSink();
  sink.add(input);
  return sink.digest();
}