encryptsBytes method

Uint8List encryptsBytes({
  1. required List<int> data,
  2. required List<String> keys,
})

Implementation

Uint8List encryptsBytes({
  required List<int> data,
  required List<String> keys,
}) {
  Uint8List uint8list = Uint8List.fromList(data);
  for (var i = 0; i < keys.length; i++) {
    String key = keys[i];
    uint8list = (encryptBytes(data: uint8list, key: key));
  }
  return uint8list;
}