ecdhP256 method

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

A factory used by Ecdh.p256.

Implementation

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