EDDSAPublicKey class

Represents an EdDSA public key in the Edwards curve format.

Constructors

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

Properties

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

Operators

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