hashSync method

  1. @override
Hash hashSync(
  1. List<int> data
)
override

Synchronous version of hash.

Implementation

@override
Hash hashSync(List<int> data) {
  var sink = newHashSink();
  sink.addSlice(data, 0, data.length, true);
  return sink.hashSync();
}