extractMAC static method

Uint8List extractMAC(
  1. Uint8List message
)

Extracts the MAC from a message

Implementation

static Uint8List extractMAC(Uint8List message) {
  validateMessageWithMAC(message);
  return message.sublist(message.length - MAC_LENGTH);
}