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
read / write
curve ECDomainParameters
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
secretBits int
read / write
sText Uint8List
read / write
x BigInt
read / write

Methods

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

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited