EDDSAPrivateKey class

Represents an EdDSA private key and provides methods for key operations.

Constructors

EDDSAPrivateKey(EDPoint generator, List<int> privateKey, SerializableHash hashMethod())
Creates an EdDSA private key from a random value using a provided hash method.
EDDSAPrivateKey.fromKhalow(EDPoint generator, List<int> privateKey)
Creates an EdDSA private key from a private key value for Khalow curves.

Properties

baselen int
final
generator EDPoint
final
hashCode int
The hash code for this object.
no setteroverride
isKhalow bool
final
privateKey List<int>
Retrieves the private key bytes.
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() EDDSAPublicKey
Retrieves the public key associated with this private key.
sign(List<int> data, SerializableHash hashMethod()) List<int>
Signs the provided data using this private key.
toString() String
A string representation of this object.
inherited

Operators

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