DiffieHellman class
The Diffie-Hellman (DH) key exchange provides a shared secret that cannot be determined by either party alone. https://tools.ietf.org/html/rfc4253#section-8
Constructors
- DiffieHellman([BigInt p, BigInt g, int secretBits])
- DiffieHellman.group1()
- https://tools.ietf.org/html/rfc2409 Second Oakley Group
- DiffieHellman.group14()
- https://tools.ietf.org/html/rfc3526 Oakley Group 14
Properties
- e ↔ BigInt
-
getter/setter pair
- f ↔ BigInt
-
getter/setter pair
- g ↔ BigInt
-
getter/setter pair
- gexMax ↔ int
-
getter/setter pair
- gexMin ↔ int
-
getter/setter pair
- gexPref ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- p ↔ BigInt
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretBits ↔ int
-
getter/setter pair
- x ↔ BigInt
-
getter/setter pair
Methods
-
computeSecret(
BigInt f) → BigInt -
generatePair(
Random random) → void -
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