Ed25519MoneroPrivateKey class

A class representing an Ed25519 Monero-compatible private key that implements the IPrivateKey interface.

Implemented types

Constructors

Ed25519MoneroPrivateKey.fromBytes(List<int> keyBytes)
Factory method for creating an Ed25519MoneroPrivateKey from a byte array. It checks the length of the provided keyBytes to ensure it matches the expected length. Then, it initializes an EdDSA private key using the Ed25519 generator and the specified keyBytes.
factory

Properties

curveType EllipticCurveTypes
curve type
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
length int
private key bytes length
no setteroverride
publicKey IPublicKey
accsess to public key
no setteroverride
raw List<int>
private key raw bytes
no setteroverride
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
toHex() String
override
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

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