mcuEncrypt method
Implementation
@override
Future<Uint8List> mcuEncrypt(
Uint8List cid, Uint8List mac, Uint8List payload) async {
final result = await methodChannel.invokeMethod<Uint8List>(
'mcuEncrypt',
Map.of(<String, Object>{
'cid': cid,
'mac': mac,
'payload': payload,
}),
);
return result ?? Uint8List(0);
}