ScalarMult class

Performs scalar multiplication of elliptic curve points

Constructors

ScalarMult()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

computePublicKey(Uint8List secretKey) Uint8List
Computes a public key given specified secret key.
computeSharedSecret(Uint8List secretKey, Uint8List publicKey) Uint8List
Computes a shared secret given a user's secret key and another user's public key.
randomSecretKey() Uint8List
Generates a random secret key.