PakeResult class
The output of a completed Pake run.
Constructors
-
PakeResult({required List<
int> localConfirmation, required List<int> expectedPeerConfirmation}) -
Creates a completed exchange result.
const
Properties
-
expectedPeerConfirmation
→ List<
int> -
The MAC the peer must send back. Compare in constant time; a mismatch
means the secrets differed (wrong pairing code) or the exchange was
tampered with.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
localConfirmation
→ List<
int> -
This party's key-confirmation MAC. Send it to the peer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
The strong shared secret. Both sides derive the same bytes only if they
used the same PAKE secret.
final
Methods
-
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