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
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