aesDecryptArrayFuture method

Future<Message> aesDecryptArrayFuture(
  1. List<String>? encryptedTexts,
  2. List<String>? keys
)

Return: Decoded array of decoded texts.

Implementation

Future<Message> aesDecryptArrayFuture(
  List<String>? encryptedTexts,
  List<String>? keys,
) async {
  var resultStr = await ZeroNet.instance.cmdFuture(
    ZeroNetCmd.aesDecrypt,
    params: {
      'encrypted_texts': encryptedTexts,
      'keys': keys,
    },
  );
  return resultStr.message!;
}