EllipticCurveDiffieHellman class

The Elliptic Curve Diffie-Hellman (ECDH) key exchange method generates a shared secret from an ephemeral local elliptic curve private key and ephemeral remote elliptic curve public key.

Constructors

EllipticCurveDiffieHellman([ECDomainParameters? curve, int? secretBits])

Properties

cText Uint8List?
getter/setter pair
curve ↔ ECDomainParameters?
getter/setter pair
hashCode int?
The hash code for this object.
no setterinherited
runtimeType Type?
A representation of the runtime type of the object.
no setterinherited
secretBits int?
getter/setter pair
sText Uint8List?
getter/setter pair
x BigInt?
getter/setter pair

Methods

computeSecret(Uint8List? sText) BigInt?
Compute shared secret.
generatePair(Random? random) → void
Generate ephemeral key pair.
noSuchMethod(Invocation? invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String?
A string representation of this object.
inherited

Operators

operator ==(Object? other) bool?
The equality operator.
inherited