Ecdh.p256 constructor

Ecdh.p256({
  1. required int length,
})

ECDH using P-256 (secp256r1 / prime256v1) elliptic curve.

For usage, see Ecdh class documentation.

Implementation

factory Ecdh.p256({required int length}) {
  return Cryptography.instance.ecdhP256(length: length);
}