macSync method

Mac macSync()

Computes the MAC synchronously.

Implementation

Mac macSync() {
  if (!isClosed) {
    throw StateError('Sink is not closed');
  }
  return Mac(Uint8List.fromList(macBytes));
}