ecdhP521 method

  1. @override
Ecdh ecdhP521({
  1. required int length,
})

A factory used by Ecdh.p521.

Implementation

@override
Ecdh ecdhP521({required int length}) {
  final impl = FlutterEcdh.p521(length: length);
  if (impl.isSupportedPlatform) {
    return impl;
  }
  return super.ecdhP521(length: length);
}