maxEncryptedSize method

  1. @override
int maxEncryptedSize(
  1. Uint8List inp
)
override

The maximum size the input can have after it has been encrypted.

Implementation

@override
int maxEncryptedSize(Uint8List inp) {
  return inp.length + 32; // 16 IV + 16 extra for padding
}