outputBlockSize property
Get this ciphers's maximum output block size.
Implementation
@override
int get outputBlockSize {
if (_key == null) {
throw StateError(
'Output block size cannot be calculated until init() called');
}
var bitSize = _key!.modulus!.bitLength;
if (_forEncryption) {
return (bitSize + 7) ~/ 8;
} else {
return ((bitSize + 7) ~/ 8) - 1;
}
}