sha512Many function

Uint8List sha512Many(
  1. List<List<int>> messages
)

Implementation

Uint8List sha512Many(List<List<int>> messages) {
  final output = DigestSink();
  final input = sha512.startChunkedConversion(output);
  for (final message in messages) {
    input.add(message);
  }
  input.close();
  return output.value.bytes as Uint8List;
}