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