macSync method
Computes the MAC synchronously.
Implementation
Mac macSync() {
if (!isClosed) {
throw StateError('Sink is not closed');
}
return Mac(Uint8List.fromList(macBytes));
}
Computes the MAC synchronously.
Mac macSync() {
if (!isClosed) {
throw StateError('Sink is not closed');
}
return Mac(Uint8List.fromList(macBytes));
}