dispatchBackgroundEncrypt method
Uses compute to do encryption in the background.
Implementation
@override
Future<List> dispatchBackgroundEncrypt(List args) async {
return await compute(
_computeEncrypt,
[secretKeyLength, nonceLength, ...args],
debugLabel: 'BackgroundAesGcm.encrypt',
);
}