getFieldSize method

  1. @override
int getFieldSize()
override

return the field size for the agreement algorithm in bytes.

Implementation

@override
int getFieldSize() {
  return (key.parameters!.curve.fieldSize + 7) ~/ 8;
}