encryptBytes static method

ProtectResponse encryptBytes(
  1. List<int> data,
  2. String password
)

Encyrpts the bytes of the .xlsx file with the password.

Implementation

static ProtectResponse encryptBytes(List<int> data, String password) {
  return _encrypt(Uint8List.fromList(data), password);
}