EDDSAPrivateKey class
Represents an EdDSA private key and provides methods for key operations.
Constructors
-
EDDSAPrivateKey(EDPoint generator, List<
int> privateKey, HashFunc hashMethod) -
Creates an EdDSA private key from a random value using a provided hash method.
factory
-
EDDSAPrivateKey.fromKhalow(EDPoint generator, List<
int> privateKey) -
Creates an EdDSA private key from a private key value for Khalow curves.
factory
Properties
- baselen → int
-
final
- generator → EDPoint
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
-
key
→ List<
int> -
immutable key bytes
final
-
privateKey
→ List<
int> -
Retrieves the private key bytes.
no setter
- publicKey → EDDSAPublicKey
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secret → BigInt
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sign(
List< int> data, HashFunc 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