cipherTextLength method

  1. @override
int cipherTextLength(
  1. int clearTextLength
)
override

Calculates the length of the ciphertext given a clear text length.

Implementation

@override
int cipherTextLength(int clearTextLength) {
  return (clearTextLength + (blockLengthInBytes - 1)) ~/ blockLengthInBytes;
}