EDDSAPublicKey class

Represents an EdDSA public key in the Edwards curve format.

Constructors

EDDSAPublicKey(EDPoint generator, List<int> publicKey, {EDPoint? publicPoint})
Creates an EdDSA public key from a generator, encoded public key bytes, and an optional public point.
EDDSAPublicKey.fromPoint(EDPoint generator, EDPoint publicPoint)
Creates an EdDSA public key from a generator and an existing public point.

Properties

baselen int
The length of the base data used in encoding.
latefinal
generator EDPoint
The generator point associated with this public key.
final
hashCode int
The hash code for this object.
no setteroverride
point EDPoint
Retrieves the public key as an Edwards curve point.
no setter
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
publicKey() List<int>
Retrieves the encoded public key as bytes.
publicPoint() EDPoint
Retrieves the public key as an Edwards curve point.
toString() String
A string representation of this object.
inherited
verify(List<int> data, List<int> signature, SerializableHash hashMethod()) bool
Verifies a signature against the provided data using this public key.

Operators

operator ==(Object other) bool
The equality operator.
override