Ed25519PublicKey class

A class representing an Ed25519 public key that implements the IPublicKey interface.

Implemented types

Constructors

Ed25519PublicKey.fromBytes(List<int> keyBytes)
Factory method for creating an Ed25519PublicKey from a byte array. It checks the length and prefix of the provided keyBytes to ensure validity. If the keyBytes include a public key prefix, it removes it before creating the instance.
factory

Properties

compressed List<int>
compressed bytes of public key
no setteroverride
curve EllipticCurveTypes
curve type
no setteroverride
hashCode int
The hash code for this object.
no setteroverride
length int
public key compressed length
no setteroverride
point EDPoint
public key edwards point
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uncompressed List<int>
uncompressed bytes of public key
no setteroverride
uncompressedLength int
public key uncompressed length
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toHex({bool withPrefix = true, bool lowerCase = true, String? prefix = ""}) String
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

isValidBytes(List<int> keyBytes) bool
check bytes is valid for this key
override